Scratch: do not show error message when scratch execution is cancelled by user
This commit is contained in:
@@ -101,7 +101,7 @@ class KtCompilingExecutor(file: ScratchFile) : ScratchExecutor(file) {
|
|||||||
errorOccurs("Couldn't get scratch execution result - stopped by timeout ($TIMEOUT_MS ms)")
|
errorOccurs("Couldn't get scratch execution result - stopped by timeout ($TIMEOUT_MS ms)")
|
||||||
}
|
}
|
||||||
executionResult.isCancelled -> {
|
executionResult.isCancelled -> {
|
||||||
errorOccurs("Couldn't get scratch execution result - cancelled by user")
|
// ignore
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
ProcessOutputParser().parse(executionResult)
|
ProcessOutputParser().parse(executionResult)
|
||||||
|
|||||||
Reference in New Issue
Block a user