diff --git a/apps/worker/src/app/workflow/usecases/send-message/send-message-push.usecase.ts b/apps/worker/src/app/workflow/usecases/send-message/send-message-push.usecase.ts index 070901ad582..136033dc094 100644 --- a/apps/worker/src/app/workflow/usecases/send-message/send-message-push.usecase.ts +++ b/apps/worker/src/app/workflow/usecases/send-message/send-message-push.usecase.ts @@ -320,8 +320,7 @@ export class SendMessagePush extends SendMessageBase { 'unexpected_push_error', e.message || e.name || 'Un-expect Push provider error', command, - LogCodeEnum.PUSH_ERROR, - e + LogCodeEnum.PUSH_ERROR ); const raw = JSON.stringify(e) !== JSON.stringify({}) ? JSON.stringify(e) : JSON.stringify(e.message); diff --git a/apps/worker/src/app/workflow/usecases/send-message/send-message-sms.usecase.ts b/apps/worker/src/app/workflow/usecases/send-message/send-message-sms.usecase.ts index ce9a1e0b79c..354cdfc7fd4 100644 --- a/apps/worker/src/app/workflow/usecases/send-message/send-message-sms.usecase.ts +++ b/apps/worker/src/app/workflow/usecases/send-message/send-message-sms.usecase.ts @@ -313,8 +313,7 @@ export class SendMessageSms extends SendMessageBase { 'unexpected_sms_error', e.message || e.name || 'Un-expect SMS provider error', command, - LogCodeEnum.SMS_ERROR, - e + LogCodeEnum.SMS_ERROR ); await this.executionLogRoute.execute(