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 @@ -804,8 +804,6 @@ export class HeaderComponent {
804
804
}
805
805
```
806
806
807
- ---
808
-
809
807
# Deprecations in 7.x
810
808
811
809
You can use the ** Experimental** [ @sentry/migr8 ] ( https://www.npmjs.com/package/@sentry/migr8 ) to automatically update
@@ -943,7 +941,16 @@ only be set later during the span lifecycle (and thus not be available during sa
943
941
944
942
## Deprecate ` wrapRemixHandleError ` in Remix SDK (since v7.100.0)
945
943
946
- This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` .
944
+ This release deprecates ` wrapRemixHandleError ` in favor of using ` sentryHandleError ` from ` @sentry/remix ` . It can be
945
+ used as below:
946
+
947
+ ```` typescript
948
+ // entry.server.ts
949
+
950
+ export const handleError = Sentry .wrapHandleErrorWithSentry (() => {
951
+ // Custom handleError implementation
952
+ });
953
+ ```
947
954
948
955
## Deprecate using ` getClient() ` to check if the SDK was initialized
949
956
@@ -1041,7 +1048,7 @@ typescript:
1041
1048
1042
1049
```ts
1043
1050
const replay = getClient ().getIntegrationByName <Replay >('Replay ');
1044
- ```
1051
+ ````
1045
1052
1046
1053
## Deprecate `Hub `
1047
1054
You can’t perform that action at this time.
0 commit comments