on_error not respected in non-interactive mode/exit code is 0
Open
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
If I run a file with syntax errors using non-interactive mode, mssql-cli doesn't stop execution after the first error nor does it return a non-zero exit code:
Output looks like:
```Msg 102, Level 15, State 1, Line 1
Incorrect syntax near ''.
Commands completed successfully.
Commands completed successfully.
Commands completed successfully.
Commands completed successfully.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.