Skip to content

Commit

Permalink
remove redundant exception types
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jul 5, 2024
1 parent 46ec6b6 commit c45b39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion petric.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def get_data(srcdir=".", outdir=OUTDIR, sirf_verbosity=0):
algo = Submission(data)
try:
algo.run(np.inf, callbacks=metrics + submission_callbacks)
except (AssertionError, Exception):
except Exception:
print_exc(limit=2)
finally:
del algo

0 comments on commit c45b39b

Please sign in to comment.