From bb92ca75e98cb820c1b18d59ac61cf9c6f92fe1f Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:57:31 +0100 Subject: [PATCH] use logger --- apps/server/src/core/attachment/services/attachment.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/core/attachment/services/attachment.service.ts b/apps/server/src/core/attachment/services/attachment.service.ts index db1f2a9..4a78cad 100644 --- a/apps/server/src/core/attachment/services/attachment.service.ts +++ b/apps/server/src/core/attachment/services/attachment.service.ts @@ -59,7 +59,7 @@ export class AttachmentService { }); } catch (err) { // delete uploaded file on error - console.error(err); + this.logger.error(err); } return attachment;