mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Better error.
This commit is contained in:
parent
1126c87845
commit
5027d48fce
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ private class Main @Inject constructor(
|
||||||
try {
|
try {
|
||||||
allProjects = buildFileCompilerFactory.create(listOf(buildFile)).compileBuildFiles(args)
|
allProjects = buildFileCompilerFactory.create(listOf(buildFile)).compileBuildFiles(args)
|
||||||
} catch(ex: Throwable) {
|
} catch(ex: Throwable) {
|
||||||
error("Couldn't build", ex)
|
error("Couldn't build", ex.cause ?: ex)
|
||||||
log(2, "Couldn't parse preBuildScript.jar: ${ex.message}")
|
log(2, "Couldn't parse preBuildScript.jar: ${ex.message}")
|
||||||
// if (! File(".kobalt").deleteRecursively()) {
|
// if (! File(".kobalt").deleteRecursively()) {
|
||||||
// warn("Couldn't delete .kobalt, please delete it manually")
|
// warn("Couldn't delete .kobalt, please delete it manually")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue