protected void run()

in src/main/java/com/googlesource/gerrit/plugins/verifystatus/SaveCommand.java [132:147]


  protected void run() throws UnloggedFailure {
    boolean ok = true;

    for (PatchSet patchSet : patchSets) {
      try {
        verifyOne(patchSet);
      } catch (UnloggedFailure e) {
        ok = false;
        writeError("error: " + e.getMessage() + "\n");
      }
    }

    if (!ok) {
      throw new UnloggedFailure(1, "one or more verifications failed;" + " review output above");
    }
  }