Skip to content

Commit

Permalink
fix(collector): reduce warnings when exit span cannot be started (#827)
Browse files Browse the repository at this point in the history
Cannot start an exit span as this requires an active entry (or intermediate) span as parent. Currently, there is no span active at all
  • Loading branch information
kirrg001 authored Jul 19, 2023
1 parent 9f13408 commit d0d82cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports.init = (_config, cls) => {
return;
}

if (kind === constants.EXIT && cls.skipExitTracing()) {
if (kind === constants.EXIT && cls.skipExitTracing({ log: false })) {
return;
}

Expand Down

0 comments on commit d0d82cf

Please sign in to comment.