Skip to content

Commit

Permalink
Merge pull request NixOS#924 from nh2/no-top-level-exception-catch-all
Browse files Browse the repository at this point in the history
nixops script: Remove top-level Exception catch-all.
  • Loading branch information
domenkozar authored Jul 23, 2018
2 parents ceaafbd + a020907 commit d4e5b77
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/nixops
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,3 @@ except MultipleExceptions as e:
if args.debug or args.show_trace or str(e) == "":
e.print_all_backtraces()
sys.exit(1)
except Exception as e:
if args.debug or args.show_trace or str(e) == "": raise
error(str(e))
sys.exit(1)

0 comments on commit d4e5b77

Please sign in to comment.