void (@NotNull Process process, @NotNull String actionName, @Nullable String commandLine) { Integer pid = null; try { pid = getProcessID(process); } catch (Throwable ignored) { } LOG.info("Cannot " + actionName + " already terminated process (pid: " + pid + ", command: " + commandLine + ")"); }