mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Merge pull request #234 from DevCharly/exit-on-exceptions
exit Kobal process on exceptions (fixes #229)
This commit is contained in:
commit
a068ecd048
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