galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.33k stars 966 forks source link

[24.0] Don't log exception if cancelled slurm job doesn't have stderr file #18121

Closed mvdbeek closed 3 weeks ago

mvdbeek commented 3 weeks ago

This seems entirely expected and not worth reporting at an ERROR level. Fixes https://sentry.galaxyproject.org/share/issue/c7332e0cf1554c33b2cf56283acfcd1d/:

FileNotFoundError
[Errno 2] No such file or directory: '/corral4/main/jobs/057/797/57797989/galaxy_57797989.e'

(Please replace this header with a description of your pull request. Please include BOTH what you did and why you made the changes. The "why" may simply be citing a relevant Galaxy issue.) (If fixing a bug, please add any relevant error or traceback) (For UI components, it is recommended to include screenshots or screencasts)

How to test the changes?

(Select all options that apply)

License