File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -1003,8 +1003,6 @@ export class HeaderComponent {
10031003}
10041004```
10051005
1006- ---
1007-
10081006# Deprecations in 7.x
10091007
10101008You can use the ** Experimental** [ @sentry/migr8 ] ( https://www.npmjs.com/package/@sentry/migr8 ) to automatically update
@@ -1142,7 +1140,16 @@ only be set later during the span lifecycle (and thus not be available during sa
11421140
11431141## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
11441142
1145- This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` .
1143+ This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` . It can be
1144+ used as below:
1145+
1146+ ```` typescript
1147+ // entry.server.ts
1148+
1149+ export const handleError = Sentry .wrapHandleErrorWithSentry (() => {
1150+ // Custom handleError implementation
1151+ });
1152+ ```
11461153
11471154## Deprecate using ` getClient() ` to check if the SDK was initialized
11481155
@@ -1240,7 +1247,7 @@ typescript:
12401247
12411248```ts
12421249const replay = getClient ().getIntegrationByName <Replay >('Replay ');
1243- ```
1250+ ````
12441251
12451252## Deprecate `Hub `
12461253
You can’t perform that action at this time.
0 commit comments