Skip to content

Commit ab9bf19

Browse files
committed
Add deprecation flag to wrapRemixHandleError alias
1 parent 88c2aad commit ab9bf19

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

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

112114
/**

0 commit comments

Comments
 (0)