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 @@ -1200,8 +1200,6 @@ export class HeaderComponent {
1200
1200
}
1201
1201
```
1202
1202
1203
- ---
1204
-
1205
1203
# Deprecations in 7.x
1206
1204
1207
1205
You can use the ** Experimental** [ @sentry/migr8 ] ( https://www.npmjs.com/package/@sentry/migr8 ) to automatically update
@@ -1339,7 +1337,16 @@ only be set later during the span lifecycle (and thus not be available during sa
1339
1337
1340
1338
## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
1341
1339
1342
- This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` .
1340
+ This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` . It can be
1341
+ used as below:
1342
+
1343
+ ```` typescript
1344
+ // entry.server.ts
1345
+
1346
+ export const handleError = Sentry .wrapHandleErrorWithSentry (() => {
1347
+ // Custom handleError implementation
1348
+ });
1349
+ ```
1343
1350
1344
1351
## Deprecate using ` getClient() ` to check if the SDK was initialized
1345
1352
@@ -1437,7 +1444,7 @@ typescript:
1437
1444
1438
1445
```ts
1439
1446
const replay = getClient ().getIntegrationByName <Replay >('Replay ');
1440
- ```
1447
+ ````
1441
1448
1442
1449
## Deprecate `Hub `
1443
1450
You can’t perform that action at this time.
0 commit comments