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 {
1228
1228
}
1229
1229
```
1230
1230
1231
- ---
1232
-
1233
1231
# Deprecations in 7.x
1234
1232
1235
1233
You 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
1367
1365
1368
1366
## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
1369
1367
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
+ ```
1371
1378
1372
1379
## Deprecate using ` getClient() ` to check if the SDK was initialized
1373
1380
@@ -1465,7 +1472,7 @@ typescript:
1465
1472
1466
1473
```ts
1467
1474
const replay = getClient ().getIntegrationByName <Replay >('Replay ');
1468
- ```
1475
+ ````
1469
1476
1470
1477
## Deprecate `Hub `
1471
1478
You can’t perform that action at this time.
0 commit comments