forked from bugsnag/bugsnag-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit ffb6afa
committed
fix: Ensure breadcrumbs behave correctly
Now that leaveBreadcrumb() doesn't have the check of enabledBreadcrumbTypes, the notifier needs to
check if "error" breadcrumbs are desired before adding them. Additionally this commit forces Node
not to leave any breadcrumbs at all, until they are switched on.1 parent 7a62ec4 commit ffb6afa
File tree
3 files changed
+25
-6
lines changed- packages
- core
- test
- node/src
3 files changed
+25
-6
lines changedLines changed: 8 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
301 | 301 |
| |
302 | 302 |
| |
303 | 303 |
| |
304 | - | ||
305 | - | ||
306 | - | ||
307 | - | ||
308 | - | ||
309 | - | ||
304 | + | ||
305 | + | ||
306 | + | ||
307 | + | ||
308 | + | ||
309 | + | ||
310 | + | ||
311 | + | ||
310 | 312 |
| |
311 | 313 |
| |
312 | 314 |
| |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
487 | 487 |
| |
488 | 488 |
| |
489 | 489 |
| |
490 | + | ||
491 | + | ||
492 | + | ||
493 | + | ||
494 | + | ||
495 | + | ||
496 | + | ||
497 | + | ||
498 | + | ||
499 | + | ||
500 | + | ||
501 | + | ||
502 | + | ||
503 | + | ||
504 | + | ||
490 | 505 |
| |
491 | 506 |
| |
492 | 507 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | + | ||
58 | + | ||
57 | 59 |
| |
58 | 60 |
| |
59 | 61 |
| |
|
0 commit comments