Warning precedes error in reason why execution failed
rvermeulen opened this issue · comments
Describe the bug
When a query has multiple warnings and an error the VS Code popup signalling the failed execution will show the contents of the warnings instead of the error.
Version
The CodeQL and VS Code version in which the bug occurs.
CodeQL extension version: 1.9.2
CodeQL CLI version: 2.13.5
Platform: darwin x64
To reproduce
Create a query with multiple unused predicates and an error.
Run the query.
Expected behavior
Show the reason why the query execution failed, that is the error.
Additional context
Add any other context about the problem here.
These messages are produced by the query server in the CodeQL CLI and the issue has been fixed in version v2.14.4. If you upgrade your CLI version you should hopefully see the error properly.
Please let us know if that's not the case.