Skip to content

Commit

Permalink
reduce coverage diff
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Jan 28, 2021
1 parent 918e0a1 commit 6270c5e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aiida/engine/processes/calcjobs/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ async def do_upload():
)
except PreSubmitException:
raise
except plumpy.futures.CancelledError:
pass
except plumpy.process_states.Interruption:
except (plumpy.futures.CancelledError, plumpy.process_states.Interruption):
pass
except Exception:
logger.warning(f'uploading CalcJob<{node.pk}> failed')
Expand Down

0 comments on commit 6270c5e

Please sign in to comment.