mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #14968 from simonbray/jmd
Downgrade exception to warning when job properties files could not be found
This commit is contained in:
@@ -211,6 +211,8 @@ class JobInstrumenter(JobInstrumenterI):
|
||||
properties = plugin.job_properties(job_id, job_directory)
|
||||
if properties:
|
||||
per_plugin_properties[plugin.plugin_type] = properties
|
||||
except FileNotFoundError as e:
|
||||
log.warning("Failed to collect job properties for plugin %s: %s", plugin, e)
|
||||
except Exception:
|
||||
log.exception("Failed to collect job properties for plugin %s", plugin)
|
||||
return per_plugin_properties
|
||||
|
||||
Reference in New Issue
Block a user