True exception causes lost when there is no cause chain #555
Labels
Comments
This was actually working as designed. I have however now changed the design, so that the API calls become simpler and don't need to deal with the null check anymore. |
Thanks Axel. On 17 Jul 2013, at 10:37, "Axel Fontaine" <notifications@github.commailto:notifications@github.com> wrote: This was actually working as designed. I have however now changed the design, so that the API calls become simpler and don't need to deal with the null check anymore. — |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug is in ExceptionUtils.getRootCause(Throwable throwable) - when the given exception is the root cause (e.g. it has no further causes) the method returns null, instead of e.
Led to quite a lot of digging and the eventual check out and debug of the code to find out what was actually causing my script to fail (a custom FlywayException that told me that I was not replacing on my placeholders...)!
Cheers,
Tom
The text was updated successfully, but these errors were encountered: