mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Better error message.
This commit is contained in:
parent
c59a4cd4f3
commit
30d9f2c8c5
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ open class RunCommand(val command: String) {
|
||||||
if (callSucceeded) {
|
if (callSucceeded) {
|
||||||
successCb(fromStream(process.inputStream))
|
successCb(fromStream(process.inputStream))
|
||||||
} else {
|
} else {
|
||||||
errorCb(listOf("Time out for command $command") + fromStream(process.errorStream))
|
errorCb(listOf("$command failed") + fromStream(process.errorStream))
|
||||||
}
|
}
|
||||||
return if (callSucceeded) 0 else 1
|
return if (callSucceeded) 0 else 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue