File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 23
23
import { ManifestEndpoint } from "../../runtime/manifest" ;
24
24
import { CloudEvent , CloudFunction } from "../core" ;
25
25
import { EventHandlerOptions , getGlobalOptions , optionsToEndpoint } from "../options" ;
26
+ import { wrapTraceContext } from "../trace" ;
26
27
27
28
/** @internal */
28
29
export const eventType = "google.firebase.testlab.testMatrix.v1.completed" ;
@@ -189,7 +190,7 @@ export function onTestMatrixCompleted(
189
190
const specificOpts = optionsToEndpoint ( optsOrHandler ) ;
190
191
191
192
const func : any = ( raw : CloudEvent < unknown > ) => {
192
- return handler ( raw as CloudEvent < TestMatrixCompletedData > ) ;
193
+ return wrapTraceContext ( handler ( raw as CloudEvent < TestMatrixCompletedData > ) ) ;
193
194
} ;
194
195
func . run = handler ;
195
196
You can’t perform that action at this time.
0 commit comments