Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

EXN_STACKTRACE should contain nested exceptions #15

Open
pmconrad opened this issue Sep 16, 2022 · 0 comments
Open

EXN_STACKTRACE should contain nested exceptions #15

pmconrad opened this issue Sep 16, 2022 · 0 comments

Comments

@pmconrad
Copy link

Quite often, higher-level code wraps exceptions thrown by lower-level code into their own exceptions. The stacktrace of the wrapping exception then only contains the higher-level location where the wrapping exception was thrown, not the lower-level location where the original exception happened.
Usually logging appenders resolve this problem by showing the wrapped exception and some of its stacktrace below the trace of the wrapping exception, separated by a "Caused by..." line (or similar).
It would be good to have this here, too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant