1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

printStackTrace.

This commit is contained in:
Cedric Beust 2015-11-07 07:19:20 -08:00
parent c9e2c8a811
commit d6b15dfc8c

View file

@ -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()) {