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
After doing a couple implementation of OpenTracing, I did not have the necessity of using the SpanContextNotFound exception. More over, the flow when using this exception is cumbersome:
Problem
After doing a couple implementation of OpenTracing, I did not have the necessity of using the
SpanContextNotFound
exception. More over, the flow when using this exception is cumbersome:whereas returning a null would be:
Finally, the
SpanContextNotFound
does not add additional value to the failure, so returning anull
is good enough.Proposal
Get rid of the exception and return
null
in such cases.Ping @tedsuo @yurishkuro @beberlei @felixfbecker @lvht
The text was updated successfully, but these errors were encountered: