File tree Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -325,13 +325,6 @@ export class Scope implements ScopeInterface {
325
325
return this . _session ;
326
326
}
327
327
328
- /**
329
- * @inheritDoc
330
- */
331
- public getBreadcrumbs ( ) : Breadcrumb [ ] {
332
- return this . _breadcrumbs ;
333
- }
334
-
335
328
/**
336
329
* @inheritDoc
337
330
*/
@@ -522,7 +515,7 @@ export class Scope implements ScopeInterface {
522
515
523
516
this . _applyFingerprint ( event ) ;
524
517
525
- const scopeBreadcrumbs = this . getBreadcrumbs ( ) ;
518
+ const scopeBreadcrumbs = this . _getBreadcrumbs ( ) ;
526
519
const breadcrumbs = [ ...( event . breadcrumbs || [ ] ) , ...scopeBreadcrumbs ] ;
527
520
event . breadcrumbs = breadcrumbs . length > 0 ? breadcrumbs : undefined ;
528
521
@@ -559,6 +552,13 @@ export class Scope implements ScopeInterface {
559
552
return this . _propagationContext ;
560
553
}
561
554
555
+ /**
556
+ * Get the breadcrumbs for this scope.
557
+ */
558
+ protected _getBreadcrumbs ( ) : Breadcrumb [ ] {
559
+ return this . _breadcrumbs ;
560
+ }
561
+
562
562
/**
563
563
* This will be called after {@link applyToEvent} is finished.
564
564
*/
Original file line number Diff line number Diff line change @@ -128,11 +128,6 @@ export interface Scope {
128
128
*/
129
129
setSession ( session ?: Session ) : this;
130
130
131
- /**
132
- * Get all breadcrumbs for this scope.
133
- */
134
- getBreadcrumbs ( ) : Breadcrumb [ ] ;
135
-
136
131
/**
137
132
* Returns the `RequestSession` if there is one
138
133
*/
You can’t perform that action at this time.
0 commit comments