Skip to content

Commit

Permalink
PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Sep 30, 2024
1 parent 6494c62 commit 78f8f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/workflow/scheduling_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def __attempt_materialize(self, workflow_invocation, session) -> bool:
session.commit()
return True
except Exception as e:
log.info(f"Failed to materialize dataset for workflow {workflow_invocation.id} - {e}")
log.exception(f"Failed to materialize dataset for workflow {workflow_invocation.id} - {e}")
workflow_invocation.fail()
session.add(workflow_invocation)
session.commit()
Expand All @@ -363,7 +363,7 @@ def __attempt_schedule(self, invocation_id, workflow_scheduler):
workflow_invocation = session.get(model.WorkflowInvocation, invocation_id)
if workflow_invocation.state == workflow_invocation.states.REQUIRES_MATERIALIZATION:
if not self.__attempt_materialize(workflow_invocation, session):
return
return None
if self.app.config.workflow_scheduling_separate_materialization_iteration:
return None
try:
Expand Down

0 comments on commit 78f8f2a

Please sign in to comment.