Skip to content

Commit

Permalink
Merge pull request #829 from plajjan/711-cli/helper-nipap_exception
Browse files Browse the repository at this point in the history
Catch all exceptions to suppress error messages
  • Loading branch information
garberg committed Jul 23, 2015
2 parents 2da42bc + c2a4503 commit 7fb3c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipap-cli/helper-nipap
Expand Up @@ -48,7 +48,7 @@ if __name__ == '__main__':
try:
cmd = Command(nipap_cli.cmds, args)
comp = sorted(cmd.complete())
except (NipapError, InvalidCommand):
except Exception:
# handle errors silently
pass

Expand Down

0 comments on commit 7fb3c30

Please sign in to comment.