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

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
apanicker-nflx committed Sep 19, 2018
1 parent 31ef58d commit b53d605
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ public void pauseWorkflow(String workflowId) {
public void resumeWorkflow(String workflowId) {
Workflow workflow = executionDAO.getWorkflow(workflowId, false);
if (!workflow.getStatus().equals(WorkflowStatus.PAUSED)) {
throw new IllegalStateException("The workflow " + workflowId + " is PAUSED so cannot resume");
throw new IllegalStateException("The workflow " + workflowId + " is not PAUSED so cannot resume");
}
workflow.setStatus(WorkflowStatus.RUNNING);
executionDAO.updateWorkflow(workflow);
Expand Down

0 comments on commit b53d605

Please sign in to comment.