You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got a message popup to check my output because the tools crashed. This was in the output:
Encountered an unexpected error
This is a bug in Postgres Tools, not an error in your code, and we would appreciate it if you could report it along with the following information to help us fixing the issue:
Source Location: crates\pgt_workspace\src\workspace\server\change.rs:130:14
Thread Name: tokio-runtime-worker
Message: called `Result::unwrap_err()` on an `Ok` value: 1
(There could also be a link to the issues page of this project. I was unsure where to post the report)
To Reproduce
I was uncommenting some selected SQL with the VSCode Toggle Block Comment (editor.action.blockComment) action.
I tried to repro using the provided logs but it did not crash for me. We fixed a few things in this area recently - maybe it's already fixed on main. We will release a new version in the next few days. Will ping you to retry this then :)
With 0.5.0, vs-code and windos11 I receive a similiar error (quiet frequently) @psteinroe :
2025-04-22 11:03:03.514 [info] Encountered an unexpected error
This is a bug in Postgres Tools, not an error in your code, and we would appreciate it if you could report it along with the following information to help us fixing the issue:
Source Location: crates\pgt_lexer\src\lib.rs:181:9
Thread Name: tokio-runtime-worker
Message: No token found at position 315: 'Some("\r")'
Position is always different:
Message: No token found at position 311: 'Some("\r")'
Message: No token found at position 317: 'Some("\r")'
...
Bug report
Describe the bug
Got a message popup to check my output because the tools crashed. This was in the output:
(There could also be a link to the issues page of this project. I was unsure where to post the report)
To Reproduce
I was uncommenting some selected SQL with the VSCode
Toggle Block Comment (editor.action.blockComment)
action.Expected behavior
No crash.
System information
Additional context
server.log.2025-04-10-10.log
The text was updated successfully, but these errors were encountered: