counters.get(e.getExitReason()).inc(); if (e.getExitReason().isError()) { log.error("Process [{}:{}] on [{}] failed, exit [{}] : {}", instance.getName(), processId, instance.getResourceId(), e .getExitReason(), e.getMessage()); log.info("Timeout on process [{}:{}] on [{}] : {}", instance.getName(), processId, instance.getResourceId(), e .getMessage()); } catch (ProcessCancelException e) { CANCELED.inc(); runRemaining = true; log.debug("Process canceled [{}:{}] on [{}] : {}", instance.getName(), processId, instance.getResourceId(), e.getMessage()); } catch (Throwable e) { if (e instanceof LoggableException) { log.error("Unknown exception running process [{}:{}] on [{}], canceled by [{}]", instance == null ? null : instance.getName(), processId, instance == null ? null : instance.getResourceId(), cause.getMessage()); } else { EXCEPTION.inc(); log.error("Unknown exception running process [{}:{}] on [{}]", instance == null ? null : instance.getName(), processId, instance == null ? null : instance.getResourceId(), e);