diff --git a/src/main/kotlin/com/beust/kobalt/Main.kt b/src/main/kotlin/com/beust/kobalt/Main.kt index 8733e65b..2d559cf7 100644 --- a/src/main/kotlin/com/beust/kobalt/Main.kt +++ b/src/main/kotlin/com/beust/kobalt/Main.kt @@ -140,6 +140,7 @@ private class Main @Inject constructor( } catch(ex: KobaltException) { throw ex } catch(ex: Throwable) { + ex.printStackTrace() // This can happen if the ABI for the build script file changed. Try to wipe .kobalt. log(2, "Couldn't parse preBuildScript.jar: ${ex.message}") if (! File(".kobalt").deleteRecursively()) {