Skip to content

Commit

Permalink
fix(mailing): display better errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gweill-guigops committed Apr 22, 2024
1 parent 146f028 commit 60d134a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/backend/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,6 @@ app.use((req, res, next) => {
);
});

app.use(
Sentry.Handlers.errorHandler({
shouldHandleError(error) {
return !error.isOperational;
},
}),
);

// eslint-disable-next-line no-unused-vars
app.use(async (err, req, res, next) => {
log.w(err.name, err.message);
Expand Down

0 comments on commit 60d134a

Please sign in to comment.