File tree 1 file changed +2
-2
lines changed
packages/apm/src/integrations
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ export class Tracing implements Integration {
392
392
* Uses logger.log to log things in the SDK or as breadcrumbs if defined in options
393
393
*/
394
394
private static _log ( ...args : any [ ] ) : void {
395
- if ( Tracing . options . debug && Tracing . options . debug . writeAsBreadcrumbs ) {
395
+ if ( Tracing . options && Tracing . options . debug && Tracing . options . debug . writeAsBreadcrumbs ) {
396
396
const _getCurrentHub = Tracing . _getCurrentHub ;
397
397
if ( _getCurrentHub ) {
398
398
_getCurrentHub ( ) . addBreadcrumb ( {
@@ -727,7 +727,7 @@ export class Tracing implements Integration {
727
727
}
728
728
} ) ;
729
729
}
730
- if ( Tracing . options . debug && Tracing . options . debug . spanDebugTimingInfo ) {
730
+ if ( Tracing . options && Tracing . options . debug && Tracing . options . debug . spanDebugTimingInfo ) {
731
731
Tracing . _addSpanDebugInfo ( span ) ;
732
732
}
733
733
span . finish ( ) ;
You can’t perform that action at this time.
0 commit comments