IDEA-128818 Make groovyc OOM message more clearly visible

This commit is contained in:
peter
2014-08-27 21:53:43 +02:00
parent 60e72cd783
commit d9d2076cb1
@@ -100,6 +100,9 @@ public class GroovycRunner {
method.invoke(null, forStubs, argPath);
}
catch (Throwable e) {
while (e.getCause() != null) {
e = e.getCause();
}
e.printStackTrace();
System.exit(1);
}