in runner/src/main/kotlin/org/jetbrains/idea/inspections/ProxyRunnerImpl.kt [12:27]
fun step(): Boolean {
try {
val rawCommand = connection.read(Connection.Type.MasterOut.COMMAND)
val command = Command.valueOf(rawCommand)
when (command) {
Command.RUN -> run()
Command.FINALIZE -> return true
}
} catch (exception: Throwable) {
logger.exception(exception)
val result = RunnerOutcome.CRASH.toJson()
connection.write(Connection.Type.SlaveOut.VALUE, result)
throw exception
}
return false
}