mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Fix tool stdio level parsing for OOM level.
Backend was enhanced to allow this in #5196 and a new entry point to setting exit code for such exit conditions but the custom parsing wasn't updated to allow it. Thanks to @nsoranzo for the catch.
This commit is contained in:
@@ -857,6 +857,8 @@ class StdioParser(object):
|
||||
return_level = StdioErrorLevel.LOG
|
||||
elif (re.search("warning", err_level, re.IGNORECASE)):
|
||||
return_level = StdioErrorLevel.WARNING
|
||||
elif (re.search("fatal_oom", err_level, re.IGNORECASE)):
|
||||
return_level = StdioErrorLevel.FATAL_OOM
|
||||
elif (re.search("fatal", err_level, re.IGNORECASE)):
|
||||
return_level = StdioErrorLevel.FATAL
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user