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 @@ -1228,8 +1228,6 @@ export class HeaderComponent {
12281228}
12291229```
12301230
1231- ---
1232-
12331231# Deprecations in 7.x
12341232
12351233You can use the ** Experimental** [ @sentry/migr8 ] ( https://www.npmjs.com/package/@sentry/migr8 ) to automatically update
@@ -1367,7 +1365,16 @@ only be set later during the span lifecycle (and thus not be available during sa
13671365
13681366## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
13691367
1370- This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` .
1368+ This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` . It can be
1369+ used as below:
1370+
1371+ ```` typescript
1372+ // entry.server.ts
1373+
1374+ export const handleError = Sentry .wrapHandleErrorWithSentry (() => {
1375+ // Custom handleError implementation
1376+ });
1377+ ```
13711378
13721379## Deprecate using ` getClient() ` to check if the SDK was initialized
13731380
@@ -1465,7 +1472,7 @@ typescript:
14651472
14661473```ts
14671474const replay = getClient ().getIntegrationByName <Replay >('Replay ');
1468- ```
1475+ ````
14691476
14701477## Deprecate `Hub `
14711478
You can’t perform that action at this time.
0 commit comments