Skip to content

Commit

Permalink
Improved error message displayed on the monitor for remote i/o errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Nilsson committed Dec 2, 2024
1 parent 9468133 commit e8d5b8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PILOTVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.2.37
3.9.2.38
2 changes: 2 additions & 0 deletions pilot/user/atlas/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,8 @@ def get_payload_command(job: JobData, args: object = None) -> str:

# fail the job if the remote files could not be verified
if exitcode != 0:
# improve the error diagnostics
diagnostics = errors.format_diagnostics(exitcode, diagnostics)
job.piloterrorcodes, job.piloterrordiags = errors.add_error_code(exitcode, msg=diagnostics)
raise PilotException(diagnostics, code=exitcode)
else:
Expand Down

0 comments on commit e8d5b8a

Please sign in to comment.