void (@NotNull Throwable exception) { VcsException err = new VcsException(GitBundle.message("git.executable.unknown.error.message", exception.getMessage()), exception); VcsException oldErr = myException.getAndSet(err); if (oldErr != null) { LOG.warn("Dropping previous exception: ", oldErr); } }