diff --git a/lib/galaxy/tools/__init__.py b/lib/galaxy/tools/__init__.py index f1ee07e9d06..9baa171ffb4 100755 --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -87,11 +87,11 @@ class ToolErrorLog: self.error_stack = [] self.max_errors = 100 - def add_error(self, file, section, exception): + def add_error(self, file, phase, exception): self.error_stack.insert(0, { "file" : file, "time" : str(datetime.now()), - "section" : section, + "phase" : phase, "error" : str(exception) } ) if len(self.error_stack) > self.max_errors: diff --git a/templates/admin/tool_errors.mako b/templates/admin/tool_errors.mako index e94a20550fc..7843f0034ff 100644 --- a/templates/admin/tool_errors.mako +++ b/templates/admin/tool_errors.mako @@ -11,14 +11,14 @@ Internal Tool Error log
| Time | -System | +Phase | File | Error |
| ${error['time']} | -${error['section']} | +${error['phase']} | ${error['file']} | ${error['error']} |