소스 검색

fix(syncing-server): logs meta for email with backup requested

Karol Sójko 1 년 전
부모
커밋
597ff13393
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      packages/syncing-server/src/Domain/Handler/EmailBackupRequestedEventHandler.ts

+ 3 - 1
packages/syncing-server/src/Domain/Handler/EmailBackupRequestedEventHandler.ts

@@ -85,6 +85,8 @@ export class EmailBackupRequestedEventHandler implements DomainEventHandlerInter
       )
     }
 
-    this.logger.info(`Email with backup requested for user ${event.payload.userUuid}`)
+    this.logger.info('Email with backup requested for user', {
+      userId: event.payload.userUuid,
+    })
   }
 }