Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2173 from Netflix/jun-he-patch-2
Browse files Browse the repository at this point in the history
Improve onWorkflowFinalizedIfEnabled
  • Loading branch information
apanicker-nflx authored Apr 14, 2021
2 parents 16a5192 + a8afb4c commit 7053043
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1146,9 +1146,9 @@ List<String> cancelNonTerminalTasks(Workflow workflow) {
}
if (erroredTasks.isEmpty()) {
try {
queueDAO.remove(DECIDER_QUEUE, workflow.getWorkflowId());
workflowStatusListener.onWorkflowFinalizedIfEnabled(workflow);
} catch (Exception e) {
queueDAO.remove(DECIDER_QUEUE, workflow.getWorkflowId());
} catch (Exception e) {
LOGGER.error("Error removing workflow: {} from decider queue", workflow.getWorkflowId(), e);
}
}
Expand Down

0 comments on commit 7053043

Please sign in to comment.