static void checkIfPreviousUpdateFailed(BuildNumber current) {
    PropertiesComponent properties = PropertiesComponent.getInstance();
    if (current.asString().equals(properties.getValue(SELF_UPDATE_STARTED_FOR_BUILD_PROPERTY)) &&
        new File(PathManager.getLogPath(), ERROR_LOG_FILE_NAME).length() > 0) {
      IdeUpdateUsageTriggerCollector.UPDATE_FAILED.log();
      LOG.info("The previous IDE update failed");
    }
    properties.unsetValue(SELF_UPDATE_STARTED_FOR_BUILD_PROPERTY);
  }
static void checkIfPreviousUpdateFailed(BuildNumber current)