We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
withSentryRouteTracing
1 parent 5704702 commit fc33554Copy full SHA for fc33554
packages/remix/README.md
@@ -90,11 +90,23 @@ function App() {
90
);
91
}
92
93
-export default withSentryRouteTracing(App, {
94
- wrapWithErrorBoundary: false // default: true
+export default withSentryRouteTracing(App);
+```
95
+
96
+You can disable or configure `ErrorBoundary` using a second parameter to `withSentryRouteTracing`.
97
98
+```ts
99
100
+withSentryRouteTracing(App, {
101
+ wrapWithErrorBoundary: false
102
+});
103
104
+// or
105
106
107
errorBoundaryOptions: {
108
fallback: <p>An error has occurred</p>
- } // optional
109
+ }
110
});
111
```
112
0 commit comments