1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -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 { try {
result = runWithArgs(jc, args, argv) result = runWithArgs(jc, args, argv)
} catch(ex: KobaltException) { } catch(ex: KobaltException) {
error("", ex) error("", ex.cause ?: ex)
result = 1 result = 1
} finally { } finally {
executors.shutdown() executors.shutdown()