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

Terrascan doesn't exit with error on CLI or Parsing errors. #442

Closed
devang-gaur opened this issue Dec 23, 2020 · 0 comments · Fixed by #458
Closed

Terrascan doesn't exit with error on CLI or Parsing errors. #442

devang-gaur opened this issue Dec 23, 2020 · 0 comments · Fixed by #458

Comments

@devang-gaur
Copy link
Contributor

  • terrascan version: 1.2.0
  • Operating System: Mac

Description

Terrascan doesn't error out if there occurs an error in input parsing. It only errors out whenever there is a violation with exit code 3.

We should exit 1 whenever there's a code level or parsing error as well.. and keep up with exit 3 incase of violations.

What I Did

image

@devang-gaur devang-gaur changed the title Terrascan doesn't exit on CLI or Parsing errors. Terrascan doesn't exit with error on CLI or Parsing errors. Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant