Chore: more verbose and bump version
All checks were successful
Build and push image / release-image (push) Successful in 1m27s
All checks were successful
Build and push image / release-image (push) Successful in 1m27s
This commit is contained in:
@@ -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}`);
|
||||
|
||||
Reference in New Issue
Block a user