Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Avoid NPE in BLException.getDetailedMessage. #236

Merged

Conversation

alcarraz
Copy link
Contributor

@alcarraz alcarraz commented Dec 31, 2021

When getMessage is null.

This fix will generate the string "null" (or "null(detail)" if detail is not null) when getMessage() is null maybe we want another outcome, like empty string, but this feels more like the excpected behaviour for an exception message.

When `getMessage` is null.
@ar ar merged commit 7ab77b5 into jpos:master Jan 7, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants