From 9c2d4da20d64224fa0ada82c58467b9e715422c7 Mon Sep 17 00:00:00 2001 From: Max Bischof Date: Fri, 26 Apr 2024 08:46:05 +0200 Subject: [PATCH] Fix s3 client log message --- apps/server/src/infra/s3-client/s3-client.adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/infra/s3-client/s3-client.adapter.ts b/apps/server/src/infra/s3-client/s3-client.adapter.ts index 1ed693a4d52..7d1909e5542 100644 --- a/apps/server/src/infra/s3-client/s3-client.adapter.ts +++ b/apps/server/src/infra/s3-client/s3-client.adapter.ts @@ -73,7 +73,7 @@ export class S3ClientAdapter { } catch (err) { // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access if (err?.Code === 'NoSuchKey') { - this.logger.warn(`could not find one of the files for deletion with id ${path}`); + this.logger.warn(`Could not get file with id ${path}`); throw new NotFoundException('NoSuchKey', ErrorUtils.createHttpExceptionOptions(err)); } else { throw new InternalServerErrorException('S3ClientAdapter:get', ErrorUtils.createHttpExceptionOptions(err));