Commit 874b480
committed
Log errors in RouteErrorBoundary to Sentry
Using captureRemixErrorBoundaryError() is what Sentry's docs recommend
for Remix, so that approach was chosen here. Remix provides handleError
approach, but their docs apply it only on server side (as we do in
entry.server.tsx), so it wasn't applied here.1 parent 6e2d678 commit 874b480
File tree
2 files changed
+13
-2
lines changed- apps/cyberstorm-remix
- app/commonComponents/ErrorBoundary
- docs
2 files changed
+13
-2
lines changedLines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
0 commit comments