Skip to content

Commit

Permalink
fixing exception syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
atravitz committed Jan 16, 2025
1 parent 21562c3 commit 5b19d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gufe/protocols/protocolunit.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def execute(
end_time=datetime.datetime.now(),
)

except KeyboardInterrupt or ExecutionInterrupt:
except (KeyboardInterrupt, ExecutionInterrupt):
# we always want to raise in these situations
raise
except Exception as e:
Expand Down

0 comments on commit 5b19d0a

Please sign in to comment.