Skip to content

Commit

Permalink
Fix rabbitmq NullPointerException (#12109)
Browse files Browse the repository at this point in the history
  • Loading branch information
huange7 committed Aug 26, 2024
1 parent 0ef7e50 commit 3fc1bbe
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ public static void stopSpan(
if (callDepth.decrementAndGet() > 0) {
return;
}
if (scope == null) {
return;
}

scope.close();

Expand Down

0 comments on commit 3fc1bbe

Please sign in to comment.