Commit 2c3f09c
authored
fix(replay): Try/catch
It is possible that an error gets thrown outside
of flushing (we should be catching exceptions in
flush and do no re-throw), which our core SDK
error handler would catch due to global rejection
handler and trigger replay SDK to flush again.sendBufferedReplayOrFlush to prevent cycles (#13900)1 parent 5929a1b commit 2c3f09c
File tree
1 file changed
+7
-5
lines changed- packages/replay-internal/src/coreHandlers
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
0 commit comments