Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anisyonk committed Sep 10, 2024
1 parent 770ebf5 commit f3ea527
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pilot/api/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,8 @@ def transfer(self, files: list, activity: list or str = 'default', raise_excepti
code = ErrorCodes.STAGEINFAILED if self.mode == 'stage-in' else ErrorCodes.STAGEOUTFAILED # is it stage-in/out?
details = str(caught_errors) + ":" + f'failed to transfer files using copytools={copytools}'
self.logger.fatal(details)
raise PilotException(details, code=code)
if raise_exception:
raise PilotException(details, code=code)

return files

Expand Down

0 comments on commit f3ea527

Please sign in to comment.