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

Better error.

This commit is contained in:
Cedric Beust 2015-11-24 23:17:16 -08:00
parent 9f00303e9d
commit 904ccb157e

View file

@ -96,7 +96,7 @@ private class Main @Inject constructor(
try {
result = runWithArgs(jc, args, argv)
} catch(ex: KobaltException) {
error("", ex)
error("", ex.cause ?: ex)
result = 1
} finally {
executors.shutdown()