From f7693c7c5c8cc4d5d98de57e8ec3490c92d0c3f6 Mon Sep 17 00:00:00 2001 From: Max Bischof <106820326+bischofmax@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:14:49 +0200 Subject: [PATCH] BC-6470 - Fix s3 client log message (#4965) --- 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));