-
Bug
-
Resolution: Done
-
Undefined
-
26.2.4
Before reporting an issue
[x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
dist/quarkus
Describe the bug
When an exception is thrown and tracing is enabled (for example in TokenEndpoint#processGrantRequest), there is a warning logged:
> INFO [io.quarkus.opentelemetry.runtime.QuarkusContextStorage] (vert.x-eventloop-thread-3) Context in storage not the expected context, Scope.close was not called correctly. Details: OTel context before: ...
Version
26.3
Regression
[ ] The issue is a regression
Expected behavior
The span should be closed
Actual behavior
It is kept open if an exception is thrown
How to Reproduce?
Add a dummy statement in the method above
Anything else?
I'll create a PR
- links to