code: private void handlePluginFailure(Exception e) throws GitCommitIdExecutionException {
      if (failOnUnableToExtractRepoInfo) {
        throw new GitCommitIdExecutionException("Could not complete Mojo execution...", e);
      } else {
        log.error(e.getMessage(), e);
      }
    }
docs: Reacts to an exception based on the {@code failOnUnableToExtractRepoInfo} setting.
  If it's true, an GitCommitIdExecutionException will be thrown, otherwise we just log an error message.
  
  @throws GitCommitIdExecutionException which will be thrown in case the
  {@code failOnUnableToExtractRepoInfo} setting was set to true.