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 {
1217
1217
}
1218
1218
```
1219
1219
1220
- ---
1221
-
1222
1220
# Deprecations in 7.x
1223
1221
1224
1222
You 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
1356
1354
1357
1355
## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
1358
1356
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
+ ```
1360
1367
1361
1368
## Deprecate using ` getClient() ` to check if the SDK was initialized
1362
1369
@@ -1454,7 +1461,7 @@ typescript:
1454
1461
1455
1462
```ts
1456
1463
const replay = getClient ().getIntegrationByName <Replay >('Replay ');
1457
- ```
1464
+ ````
1458
1465
1459
1466
## Deprecate `Hub `
1460
1467
You can’t perform that action at this time.
0 commit comments