Skip to content
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

[analyze] Proper exit code for CodeChecker check in case of exception #3603

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

csordasmarton
Copy link
Contributor

If some exception happens during the CodeChecker check command we
will get the following exception:

UnboundLocalError: local variable 'analysis_exit_status' referenced before assignment

This commit solves this problem and initialize this variable to 1 which
identifies a CodeChecker error.

If some exception happens during the `CodeChecker check` command we
will get the following exception:
```
UnboundLocalError: local variable 'analysis_exit_status' referenced before assignment
```

This commit solves this problem and initialize this variable to `1` which
identifies a CodeChecker error.
@csordasmarton csordasmarton added bugfix 🔨 analyzer 📈 Related to the analyze commands (analysis driver) labels Feb 22, 2022
@csordasmarton csordasmarton added this to the release 6.19.0 milestone Feb 22, 2022
@bruntib bruntib merged commit c86a7ab into Ericsson:master Feb 22, 2022
@csordasmarton csordasmarton deleted the fix_check_exception branch April 7, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer 📈 Related to the analyze commands (analysis driver) bugfix 🔨
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants