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 @@ -1003,8 +1003,6 @@ export class HeaderComponent {
1003
1003
}
1004
1004
```
1005
1005
1006
- ---
1007
-
1008
1006
# Deprecations in 7.x
1009
1007
1010
1008
You can use the ** Experimental** [ @sentry/migr8 ] ( https://www.npmjs.com/package/@sentry/migr8 ) to automatically update
@@ -1142,7 +1140,16 @@ only be set later during the span lifecycle (and thus not be available during sa
1142
1140
1143
1141
## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
1144
1142
1145
- This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` .
1143
+ This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` . It can be
1144
+ used as below:
1145
+
1146
+ ```` typescript
1147
+ // entry.server.ts
1148
+
1149
+ export const handleError = Sentry .wrapHandleErrorWithSentry (() => {
1150
+ // Custom handleError implementation
1151
+ });
1152
+ ```
1146
1153
1147
1154
## Deprecate using ` getClient() ` to check if the SDK was initialized
1148
1155
@@ -1240,7 +1247,7 @@ typescript:
1240
1247
1241
1248
```ts
1242
1249
const replay = getClient ().getIntegrationByName <Replay >('Replay ');
1243
- ```
1250
+ ````
1244
1251
1245
1252
## Deprecate `Hub `
1246
1253
You can’t perform that action at this time.
0 commit comments