mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-29 17:38:12 -07:00
Better error reporting.
This commit is contained in:
parent
9d02f020a6
commit
48ae5d966f
19 changed files with 71 additions and 47 deletions
|
@ -11,7 +11,6 @@ import com.beust.kobalt.kotlin.BuildFile
|
|||
import com.beust.kobalt.kotlin.BuildFileCompiler
|
||||
import com.beust.kobalt.maven.DepFactory
|
||||
import com.beust.kobalt.maven.Http
|
||||
import com.beust.kobalt.maven.KobaltException
|
||||
import com.beust.kobalt.maven.LocalRepo
|
||||
import com.beust.kobalt.misc.*
|
||||
import com.google.inject.Guice
|
||||
|
@ -95,7 +94,7 @@ private class Main @Inject constructor(
|
|||
try {
|
||||
result = runWithArgs(jc, args, argv)
|
||||
} catch(ex: KobaltException) {
|
||||
error(ex.message ?: "", ex)
|
||||
error("", ex)
|
||||
result = 1
|
||||
} finally {
|
||||
executors.shutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue