Skip to content

Commit

Permalink
Fix linting once more
Browse files Browse the repository at this point in the history
  • Loading branch information
wm75 committed Feb 8, 2024
1 parent 9aab56e commit 52c8ede
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/galaxy/webapps/galaxy/controllers/async.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def index(self, trans, tool_id=None, data_secret=None, **kwd):
return f"Data {data_id} does not exist or has already been deleted"
if data.state in data.dataset.terminal_states:
log.debug(f"Tool {tool.id}: execution stopped as data {data_id} has entered terminal state prematurely")
trans.log_event(f"Tool {tool.id}: execution stopped as data {data_id} has entered terminal state prematurely")
trans.log_event(
f"Tool {tool.id}: execution stopped as data {data_id} has entered terminal state prematurely"
)
return f"Data {data_id} has finished processing before job could be completed"

# map params from the tool's <request_param_translation> section;
Expand Down

0 comments on commit 52c8ede

Please sign in to comment.