Closed jasonjkeller closed 2 weeks ago
Attention: Patch coverage is 16.66667%
with 5 lines
in your changes missing coverage. Please review.
Project coverage is 70.70%. Comparing base (
305a4d9
) to head (aa52824
). Report is 5 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
...lic/agent/instrumentation/InstrumentationImpl.java | 16.66% | 5 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Resolves https://github.com/newrelic/newrelic-java-agent/issues/2141
There's a point early in the agent's lifecycle where the
ProfilerService
service is not yet initialized that can result in the agent logging the following exception stack:Since this is not indicative of a real problem it doesn't seem necessary to always log an exception stack that muddies up the agent logs. This PR changes the logging to just log the message so that it's less alarming: