Commit b0f4e90d authored by Marc Dutoo's avatar Marc Dutoo

improved error logging

parent aeefcf1f
......@@ -86,8 +86,10 @@ public class JavaCodeTransformer implements CodeTransformerItf {
} catch (Exception e) {
Throwable throwable;
throwable = (Throwable) e.getCause().getCause().getCause();
Throwable throwable = e;
while (throwable.getCause() != null) {
throwable = throwable.getCause();
if (throwable instanceof IOException) {
throw new CompilationException(
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment