Cleanup more Sentry
This commit is contained in:
parent
1a9f510472
commit
c6dc673ab5
2 changed files with 4 additions and 14 deletions
|
@ -48,10 +48,6 @@ router.use(async (ctx, next) => {
|
|||
},
|
||||
};
|
||||
} else if (!err.status) {
|
||||
debug(err);
|
||||
if (ctx.Sentry) {
|
||||
ctx.Sentry.captureException(err);
|
||||
}
|
||||
throw err;
|
||||
} else {
|
||||
ctx.status = err.status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue