void (@NotNull UUID sessionId, CmdlineRemoteProto.Message.Failure failure) { //noinspection HardCodedStringLiteral compileContext.addMessage(CompilerMessageCategory.ERROR, failure.hasDescription() ? failure.getDescription() : "", null, -1, -1); final String trace = failure.hasStacktrace() ? failure.getStacktrace() : null; if (trace != null) { LOG.info(trace); } compileContext.putUserData(COMPILE_SERVER_BUILD_STATUS, ExitStatus.ERRORS); }