We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
%ex
exception
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently there is a difference in the way exceptions are formatted by the %ex pattern converter and the following JSON Template Layout snippet:
{ "$resolver": "exception", "field": "stackTrace", "stackTrace": { "stringified": true } }
Throwable.printStackTrace()
Object.toString()
getClass().getName() + ": " + getLocalisedMessage()
Those lines agree, unless an exception overrides Object#toString().
Object#toString()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Currently there is a difference in the way exceptions are formatted by the
%ex
pattern converter and the following JSON Template Layout snippet:Throwable.printStackTrace()
and the first line of the output is obtained by callingObject.toString()
.getClass().getName() + ": " + getLocalisedMessage()
.Those lines agree, unless an exception overrides
Object#toString()
.The text was updated successfully, but these errors were encountered: