Scratch: do not show error message when scratch execution is cancelled by user

This commit is contained in:
Natalia Selezneva
2018-12-12 12:22:39 +03:00
parent 2fbbf2400d
commit a408711f37
@@ -101,7 +101,7 @@ class KtCompilingExecutor(file: ScratchFile) : ScratchExecutor(file) {
errorOccurs("Couldn't get scratch execution result - stopped by timeout ($TIMEOUT_MS ms)")
}
executionResult.isCancelled -> {
errorOccurs("Couldn't get scratch execution result - cancelled by user")
// ignore
}
else -> {
ProcessOutputParser().parse(executionResult)