mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
exit Kobal process on exceptions (fixes #229)
This commit is contained in:
parent
9e563e3d8f
commit
ec933143ad
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ private class Main @Inject constructor(
|
|||
val seconds = benchmarkSeconds {
|
||||
try {
|
||||
result = runWithArgs(jc, args, argv, pluginClassLoader)
|
||||
} catch(ex: KobaltException) {
|
||||
} catch(ex: Throwable) {
|
||||
error("", ex.cause ?: ex)
|
||||
result = 1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue