Skip to content
New issue

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

Avoid of losing stacktrace #17

Open
dmytro-sylaiev opened this issue Mar 21, 2019 · 0 comments
Open

Avoid of losing stacktrace #17

dmytro-sylaiev opened this issue Mar 21, 2019 · 0 comments

Comments

@dmytro-sylaiev
Copy link

https://github.com/AnnaSamonenko/to-do-list-unicorn/blob/master/src/main/java/com/gmail/samonenko/controller/rest/UserRestController.java#L56

Better practice is to pass parent exception as cause instead of just create new exception with only message.

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

No branches or pull requests

1 participant