Skip to content

Commit 7a3a8dd

Browse files
authored
feat(server): stop reporting handled db exceptions to sentry (#6740)
1 parent 0c4fee7 commit 7a3a8dd

File tree

2 files changed

+1
-71
lines changed

2 files changed

+1
-71
lines changed

packages/services/storage/src/db/pool.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ import {
77
TaggedTemplateLiteralInvocation,
88
} from 'slonik';
99
import { createQueryLoggingInterceptor } from 'slonik-interceptor-query-logging';
10-
import { createSentryInterceptor } from './sentry';
1110

12-
const dbInterceptors: Interceptor[] = [createQueryLoggingInterceptor(), createSentryInterceptor()];
11+
const dbInterceptors: Interceptor[] = [createQueryLoggingInterceptor()];
1312

1413
export async function getPool(
1514
connection: string,

packages/services/storage/src/db/sentry.ts

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)