Skip to content

Commit

Permalink
BC-6470 - Fix s3 client log message (#4965)
Browse files Browse the repository at this point in the history
  • Loading branch information
bischofmax authored Apr 26, 2024
1 parent ebcc678 commit f7693c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/infra/s3-client/s3-client.adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f7693c7

Please sign in to comment.