Skip to content

Throwable.getMessage can return null#713

Merged
catostrophe merged 2 commits intotrace4cats:masterfrom
timbess:master
Mar 30, 2022
Merged

Throwable.getMessage can return null#713
catostrophe merged 2 commits intotrace4cats:masterfrom
timbess:master

Conversation

@timbess
Copy link
Copy Markdown
Contributor

@timbess timbess commented Mar 26, 2022

Default to toString() when getMessage() returns null.

@catostrophe
Copy link
Copy Markdown
Member

@tdbgamer does this issue cause NPE anywhere? If yes, we'll cut a patch release. If no, we'll cut a (stable) snapshot release as soon as this PR gets merged.

@catostrophe catostrophe self-requested a review March 28, 2022 19:01
@timbess
Copy link
Copy Markdown
Contributor Author

timbess commented Mar 28, 2022

@catostrophe Yeah it causes NPEs in the span exporter (at least the datadog one, but I'd expect the others might as well). Would probably be a good idea to do a patch release.

@catostrophe catostrophe added the fix Pull requests that fix bugs label Mar 30, 2022
@catostrophe catostrophe merged commit 681dfa7 into trace4cats:master Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Pull requests that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants