Skip to content

Commit

Permalink
fix: Stop immediately after keyboard interruption
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMichelsen committed Oct 17, 2022
1 parent 288f24b commit 157e9f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/metaDMG/fit/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,5 +596,7 @@ def run_single_config_count_errors(
try:
run_single_config(config)
return 0
except KeyboardInterrupt as e:
raise e
except:
return 1

0 comments on commit 157e9f0

Please sign in to comment.