dbcli / dbcli/mssql-cli

on_error not respected in non-interactive mode/exit code is 0

Open
#469 3 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.