Commit 3a3a44b
Added ability to keep previous exception handler
This adds a new boolean parameter, `keepPreviousHandler`. When set to true, it stores the previous handler value and calls it after calling the newly set exception handler. This allows developers to keep the previous functionality (red screen) intact, while still capturing errors (i.e. for analytics purposes).1 parent 9247a8b commit 3a3a44b
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
7 | 15 | | |
8 | 16 | | |
9 | 17 | | |
| |||
0 commit comments