public void log(Stats stats, String statPrefix, String logPrefix) {
    stats.dataError(statPrefix + "_" + stat());
    log(logPrefix);
  }
Prints the error and also increments a stat counter for this error and logs it.
planetiler-core/src/main/java/com/onthegomap/planetiler/geo/GeometryException.java