Skip to content

Commit 8687723

Browse files
committed
Use wrapHandleErrorWithSentry in browserTracingIntegration test app
1 parent 02791c8 commit 8687723

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/remix/test/integration/app_v2_tracingIntegration/entry.server.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ Sentry.init({
1111
autoSessionTracking: false,
1212
});
1313

14-
export const handleError = Sentry.wrapRemixHandleError;
14+
const handleErrorImpl = () => {
15+
Sentry.setTag('remix-test-tag', 'remix-test-value');
16+
};
17+
18+
export const handleError = Sentry.wrapHandleErrorWithSentry(handleErrorImpl);
1519

1620
export default function handleRequest(
1721
request: Request,

0 commit comments

Comments
 (0)