@Override
        public void run(@NotNull ProgressIndicator indicator) {
          try {
            promise.setResult(afterPreparation.compute());
          }
          catch (ProcessCanceledException e) {
            promise.setError(ExecutionBundle.message("canceled.starting.run.configuration"));
          }
          catch (ExecutionException t) {
            logger.warn(logFailureMessage, t);
            promise.setError(t);
          }
          catch (Throwable t) {
            logger.error(logFailureMessage, t);
            promise.setError(t);
          }
        }
@Override
        public void run(@NotNull ProgressIndicator indicator)