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 @@ -1217,8 +1217,6 @@ export class HeaderComponent {
12171217}
12181218```
12191219
1220- ---
1221-
12221220# Deprecations in 7.x
12231221
12241222You can use the ** Experimental** [ @sentry/migr8 ] ( https://www.npmjs.com/package/@sentry/migr8 ) to automatically update
@@ -1356,7 +1354,16 @@ only be set later during the span lifecycle (and thus not be available during sa
13561354
13571355## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
13581356
1359- This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` .
1357+ This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` . It can be
1358+ used as below:
1359+
1360+ ```` typescript
1361+ // entry.server.ts
1362+
1363+ export const handleError = Sentry .wrapHandleErrorWithSentry (() => {
1364+ // Custom handleError implementation
1365+ });
1366+ ```
13601367
13611368## Deprecate using ` getClient() ` to check if the SDK was initialized
13621369
@@ -1454,7 +1461,7 @@ typescript:
14541461
14551462```ts
14561463const replay = getClient ().getIntegrationByName <Replay >('Replay ');
1457- ```
1464+ ````
14581465
14591466## Deprecate `Hub `
14601467
You can’t perform that action at this time.
0 commit comments