newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 143 forks source link

Plugged a few gaps in token handling for error path cases #1978

Closed jbedell-newrelic closed 3 months ago

jbedell-newrelic commented 3 months ago

Specifically for when a publisher has generated a token, but is cancelled before emitting anything.

Fixes https://github.com/newrelic/newrelic-java-agent/issues/1970

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.61%. Comparing base (f2bdd54) to head (592de68). Report is 47 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1978 +/- ## ========================================= Coverage 70.61% 70.61% Complexity 9863 9863 ========================================= Files 827 827 Lines 39863 39863 Branches 6069 6069 ========================================= + Hits 28149 28150 +1 Misses 8987 8987 + Partials 2727 2726 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.