Cleanup more Sentry

This commit is contained in:
Jonathan Cremin 2019-01-14 22:43:10 +00:00
parent 1a9f510472
commit c6dc673ab5
2 changed files with 4 additions and 14 deletions

View file

@ -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;