You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ScopeManagerShim.activate() throws IllegalArgumentException if a null span is passed in. I'm not sure whether this is a bug or implemented on purpose but it is inconvenient to use as we need to do a null check before calling activate.
Currently, I need to do this to avoid the exception.
ScopeManagerShim.activate()
throwsIllegalArgumentException
if anull
span is passed in. I'm not sure whether this is a bug or implemented on purpose but it is inconvenient to use as we need to do anull
check before callingactivate
.Currently, I need to do this to avoid the exception.
It would be good if
null
is returned by the method as try-with-resources doesn't complain anull
resource.What version and what artifacts are you using?
Artifacts: (
opentelemetry-opentracing-shim
)Version: (
v1,9,1-alpha
)The text was updated successfully, but these errors were encountered: