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
I suspect it's possible for this to come back with a null, either in the call to get() or the call to getActiveSpan(), if something hasn't worked quite as expected.
I think we should be more explicit about checking these return values before we use them, else we risk some fatal errors and processes shutting down, just because of the logging - which we want to be as invisible as possible.
Activity
erickhun commentedon Dec 12, 2019
@colinscape if we had your suggested check, https://github.com/bufferapp/buffer-analytics/pull/524 wouldn't have been necessary :D I'll do a PR with your suggested changes soon
Also related to #10
colinscape commentedon Dec 12, 2019
@erickhun - ah! 😅 Makes sense! 👍