Exit both command-line tools with failure status on operational errors
This commit is contained in:
parent
dc24c4d4fe
commit
bc37483b1a
1 changed files with 20 additions and 0 deletions
|
|
@ -212,6 +212,7 @@ def main() -> None:
|
|||
exit()
|
||||
except Exception as e:
|
||||
logger.error(e)
|
||||
raise SystemExit(1) from e
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in a new issue