@Override
        public void onFailure(@NotNull ExternalSystemTaskId id, @NotNull Exception e) {
          finishSyncEventSupplier.set(() -> {
            var eventTime = System.currentTimeMillis();
            var eventMessage = BuildBundle.message("build.status.failed");
            var externalSystemName = externalSystemId.getReadableName();
            var title = ExternalSystemBundle.message("notification.project.refresh.fail.title", externalSystemName, projectName);
            var dataContext = BuildConsoleUtils.getDataContext(id, syncViewManager);
            var eventResult = createFailureResult(title, e, externalSystemId, project, externalProjectPath, dataContext);
            return new FinishBuildEventImpl(id, null, eventTime, eventMessage, eventResult);
          });
          processHandler.notifyProcessTerminated(1);
        }
@Override
        public void onFailure(@NotNull ExternalSystemTaskId id, @NotNull Exception e)