unexpected error stack
This commit is contained in:
@@ -91,5 +91,6 @@ honoServer.onError((error, ctx) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.error('Unexpected error:', error.message);
|
console.error('Unexpected error:', error.message);
|
||||||
|
console.log(error.stack);
|
||||||
return ctx.text('Internal Server Error', 500);
|
return ctx.text('Internal Server Error', 500);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user