Skip to content

Commit f5ff2c1

Browse files
committed
Add deprecation flag to wrapRemixHandleError alias
1 parent 50c2772 commit f5ff2c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/remix/src/utils/instrumentServer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ export function sentryHandleError(err: unknown, { request }: DataFunctionArgs):
105105
});
106106
}
107107

108-
// To be deprecated in favor of `sentryHandleError`
108+
/**
109+
* @deprecated Use `sentryHandleError` instead.
110+
*/
109111
export const wrapRemixHandleError = sentryHandleError;
110112

111113
/**

0 commit comments

Comments
 (0)