-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled promise errors in output #117
Comments
I think it's coming from here: vscode-abaplint/server/src/handler.ts Lines 109 to 114 in 730cf64
|
in the branch switched to, does abaplint.json contain json syntax errors, or non existing? |
no, both branches contain a valid file with different contents. i think something gets messed up when git is checking out the files. I don't think it happens every time perhaps it is appending to the file and this triggers multiple change events, it would explain why there are multiple errors maybe also worth noting that i'm using jsonc |
"SyntaxError: JSON5: invalid character '<' at 216:1" it uses the JSON5 parser, so jsonc should be okay but yea, should add some catch'es |
I got a bunch of these when switching branches:
suggest adding some generic catch blocks for unexpected situations as these errors always focus the output window
The text was updated successfully, but these errors were encountered: