From 143e6747ccef77e92a41de3a35411ad3a8f43464 Mon Sep 17 00:00:00 2001 From: ytshih Date: Sun, 27 Jul 2025 21:47:35 +0800 Subject: [PATCH] Chore: more verbose and bump version --- src/app.controller.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app.controller.ts b/src/app.controller.ts index 1b0eb83..6a774bf 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -55,8 +55,10 @@ export class AppController { Key: pkg, Range: range, } as GetObjectCommandInput); - if (!output || !output.Body) + if (!output || !output.Body) { + console.log(`No such file '${pkg}'`); throw new HttpException(`No such file '${pkg}'`, HttpStatus.NOT_FOUND); + } if (range !== undefined) { res.set('Content-Length', `${output.ContentLength}`);