We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
return
1 parent 6210c63 commit 4ee7862Copy full SHA for 4ee7862
lib/instrumentation/azure-functions.js
@@ -376,7 +376,9 @@ function instrument(agent) {
376
direction: context?.options?.trigger?.direction,
377
});
378
// Output bindings
379
- bindingDefinitions.push(context?.options?.return);
+ if (context?.options?.return) {
380
+ bindingDefinitions.push(context?.options?.return);
381
+ }
382
}
383
let executionContext = context.executionContext;
384
if (!executionContext) {
0 commit comments