Skip to content

Commit a6cd813

Browse files
authored
If an exception is raised, return 7 (query not executed) (#429)
1 parent 3070973 commit a6cd813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nca/nca_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def nca_main(argv=None):
336336
print(f'Error: {e}', file=stderr)
337337
if args.debug:
338338
print(traceback.format_exc(), file=stderr)
339-
return 0 if args.return_0 else 1
339+
return 0 if args.return_0 else 7
340340
return 0
341341

342342

0 commit comments

Comments
 (0)