From d286642bf8dde1483ea8f953d0973f8c6d85ae30 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Wed, 24 Apr 2024 14:19:17 +0100 Subject: [PATCH] sending duration wait resumes is not an error anymore --- apps/webapp/app/v3/services/resumeAttempt.server.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/webapp/app/v3/services/resumeAttempt.server.ts b/apps/webapp/app/v3/services/resumeAttempt.server.ts index 009c555da..03f4d362e 100644 --- a/apps/webapp/app/v3/services/resumeAttempt.server.ts +++ b/apps/webapp/app/v3/services/resumeAttempt.server.ts @@ -91,12 +91,11 @@ export class ResumeAttemptService extends BaseService { switch (params.type) { case "WAIT_FOR_DURATION": { - logger.error( - "Attempt requested resume after duration wait, this is unexpected and likely a bug", - { attemptId: attempt.id } - ); + logger.debug("Sending duration wait resume message", { + attemptId: attempt.id, + attemptFriendlyId: params.attemptFriendlyId, + }); - // Attempts should not request resume for duration waits, this is just here as a backup socketIo.coordinatorNamespace.emit("RESUME_AFTER_DURATION", { version: "v1", attemptId: attempt.id,