From 9ec21dc69b8f424a6b4e4d04e80ab0d5e2de3cc2 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Fri, 30 Oct 2015 17:46:27 -0700 Subject: [PATCH] Logging. --- src/main/kotlin/com/beust/kobalt/Main.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/beust/kobalt/Main.kt b/src/main/kotlin/com/beust/kobalt/Main.kt index 3685a506..b0710cc6 100644 --- a/src/main/kotlin/com/beust/kobalt/Main.kt +++ b/src/main/kotlin/com/beust/kobalt/Main.kt @@ -120,6 +120,7 @@ private class Main @Inject constructor( try { allProjects = buildFileCompilerFactory.create(listOf(buildFile)).compileBuildFiles(args) } catch(ex: Throwable) { + log(2, "Couldn't parse preBuildScript.jar: ${ex.message}") if (! File(".kobalt").deleteRecursively()) { warn("Couldn't delete .kobalt, please delete it manually") } else {