We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 502e89d commit f310e22Copy full SHA for f310e22
src/routes/upload/helpers/handleUpload.ts
@@ -88,7 +88,7 @@ export default async function handleUpload(
88
} else if (packages.length > 1) {
89
sendBundle(packages, storage, res);
90
} else {
91
- throw NO_PACKAGE_ERROR;
+ ErrorHandler(res, NO_PACKAGE_ERROR);
92
}
93
} catch (err) {
94
captureException(err);
0 commit comments