Skip to content

Commit 6fa452c

Browse files
committed
make @simplewebauth/server work
1 parent ea5bc89 commit 6fa452c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/utils/monitoring.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export function init() {
2828
Sentry.httpIntegration(),
2929
nodeProfilingIntegration(),
3030
],
31+
// https://github.com/getsentry/sentry-javascript/issues/12996
32+
registerEsmLoaderHooks: { onlyIncludeInstrumentedModules: true },
3133
tracesSampler(samplingContext) {
3234
// ignore healthcheck transactions by other services (consul, etc.)
3335
if (samplingContext.request?.url?.includes('/resources/healthcheck')) {

0 commit comments

Comments
 (0)