Skip to content

Commit

Permalink
HARMONY-2013: Always log the work item update status that was provide…
Browse files Browse the repository at this point in the history
…d in the work update message.
  • Loading branch information
chris-durbin committed Feb 12, 2025
1 parent f2f9bf4 commit 2360919
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -655,10 +655,7 @@ export async function processWorkItem(
let jobSaveStartTime;
let didCreateWorkItem = false;

// TODO HARMONY-1995 add status === WorkItemStatus.WARNING here
if (status === WorkItemStatus.SUCCESSFUL) {
logger.info(`Updating work item ${workItemID} to ${status}`);
}
logger.info(`Received update for work item ${workItemID} to ${status}`);

try {
// lock the work item so we can update it - need to do this after locking jobs table above
Expand Down

0 comments on commit 2360919

Please sign in to comment.