File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
plugins/opentelemetry/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ export async function handleOpenTelemetryCLIOpts(
136136      } ) , 
137137      contextManager, 
138138      _initialization : { 
139-         name : integration ! . name ! , 
139+         name : integration ! . name , 
140140        source : `cli flag (${ integration ! . source . flag } ${ integration ! . source . env }  , 
141141        logAttributes, 
142142      } , 
Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ function createResource(
420420 */ 
421421function  getStackTrace ( ) : string  { 
422422  // slice(3) to remove the error message + getStackTrace() call + calling function call 
423-   return  new  Error ( ) . stack ! . split ( '\n' ) . slice ( 3 ) . join ( '\n' ) . trim ( ) ; 
423+   return  ( new  Error ( ) . stack   ??   '' ) . split ( '\n' ) . slice ( 3 ) . join ( '\n' ) . trim ( ) ; 
424424} 
425425
426426/** 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments