feat: Comment resolving (#7115)
This commit is contained in:
@@ -73,6 +73,10 @@ export default function onerror(app: Koa) {
|
||||
requestErrorHandler(err, this);
|
||||
|
||||
if (!(err instanceof InternalError)) {
|
||||
if (env.ENVIRONMENT === "test") {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(err);
|
||||
}
|
||||
err = InternalError();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user