Skip to content

Commit

Permalink
Use wrapHandleErrorWithSentry in browserTracingIntegration test app
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan committed Feb 5, 2024
1 parent d1eb044 commit c613f9c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ Sentry.init({
autoSessionTracking: false,
});

export const handleError = Sentry.wrapRemixHandleError;
const handleErrorImpl = () => {
Sentry.setTag('remix-test-tag', 'remix-test-value');
};

export const handleError = Sentry.wrapHandleErrorWithSentry(handleErrorImpl);

export default function handleRequest(
request: Request,
Expand Down

0 comments on commit c613f9c

Please sign in to comment.