code: @Override
      public String sendCommandStr(String command) {
          String str = null;
          try {
              str = sendCommand2(command);
          } catch (Exception ex) {
              logger.error("Could not run command " + command, ex);
          }
          return str;
      }
docs: Sends a command to the Gerrit server, returning the output from the command.
  @param command the command.
  @return the output from the command.