mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Clarifing naming to use 'Phase'
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -11,14 +11,14 @@ Internal Tool Error log
|
||||
<table class="manage-table colored" border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr class="header">
|
||||
<td>Time</td>
|
||||
<td>System</td>
|
||||
<td>Phase</td>
|
||||
<td>File</td>
|
||||
<td>Error</td>
|
||||
</tr>
|
||||
%for error in tool_errors:
|
||||
<tr>
|
||||
<td>${error['time']}</td>
|
||||
<td>${error['section']}</td>
|
||||
<td>${error['phase']}</td>
|
||||
<td>${error['file']}</td>
|
||||
<td>${error['error']}</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user