Commit aab9e17
fix(core): Read replayId from controller instead of scope
The scope passed to captureEvent can be a clone (when using
ScopeCallback), which misses the replayId set by captureReplay()
on the live scope. Read from ReplayController.getReplayId() instead.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c25645d commit aab9e17
2 files changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
262 | 260 | | |
263 | 261 | | |
264 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3291 | 3291 | | |
3292 | 3292 | | |
3293 | 3293 | | |
| 3294 | + | |
| 3295 | + | |
3294 | 3296 | | |
3295 | 3297 | | |
3296 | 3298 | | |
| |||
0 commit comments