bump version

This commit is contained in:
undefined committed 2024-09-19 19:17:02 +08:00
1 parent 8e611d05ab
commit 342b8f0c04
11 files changed
+37 -12

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/framework",
"version": "0.0.6",
"version": "0.0.7",
"main": "index.ts",
"license": "MIT",
"peerDependencies": {
-3
View File
@@ -515,11 +515,8 @@ ${c.response.status} ${endTime - startTime}ms ${c.response.length}`);
}
} catch (e) {
try {
console.log(1, e);
await this.ctx.serial(`handler/error/${HandlerClass.name.replace(/Handler$/, '')}`, h, e);
console.log(2, e);
await this.ctx.serial('handler/error', h, e);
console.log(3, e);
await h.onerror(e);
} catch (err) {
logger.error(err);