[Swift-commit] r6068 - trunk/src/org/griphyn/vdl/karajan
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Tue Nov 20 15:29:29 CST 2012
Author: hategan
Date: 2012-11-20 15:29:29 -0600 (Tue, 20 Nov 2012)
New Revision: 6068
Modified:
trunk/src/org/griphyn/vdl/karajan/Loader.java
Log:
print stack trace for NPEs when compiling
Modified: trunk/src/org/griphyn/vdl/karajan/Loader.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/Loader.java 2012-11-20 18:28:36 UTC (rev 6067)
+++ trunk/src/org/griphyn/vdl/karajan/Loader.java 2012-11-20 21:29:29 UTC (rev 6068)
@@ -357,6 +357,9 @@
// if we leave a kml file around, then a subsequent
// re-run will skip recompiling and cause a different
// error message for the user
+ if (e instanceof NullPointerException) {
+ e.printStackTrace();
+ }
kml.delete();
throw new CompilationException(
"Failed to convert .swiftx to .kml for " + project, e);
More information about the Swift-commit
mailing list