diff --git a/src/app.ts b/src/app.ts index 7e74f6d..6143b6c 100644 --- a/src/app.ts +++ b/src/app.ts @@ -103,7 +103,7 @@ const app = new Hono(); if (Conf.sentryDsn) { // @ts-ignore Mismatched hono types. - app.use('*', sentryMiddleware({ dsn: Conf.sentryDsn })); + app.use('*', sentryMiddleware({ dsn: Conf.sentryDsn, ignoreErrors: 'HTTPException' })); } const debug = Debug('ditto:http');