Skip to content

Commit 7c2c793

Browse files
committed
Add deprecation flag to wrapRemixHandleError alias
1 parent 9a64174 commit 7c2c793

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
@@ -107,7 +107,9 @@ export function sentryHandleError(err: unknown, { request }: DataFunctionArgs):
107107
});
108108
}
109109

110-
// To be deprecated in favor of `sentryHandleError`
110+
/**
111+
* @deprecated Use `sentryHandleError` instead.
112+
*/
111113
export const wrapRemixHandleError = sentryHandleError;
112114

113115
/**

0 commit comments

Comments
 (0)