public static <T> void forEachSafe(Iterable<? extends T> iterable, Consumer<? super T> action) {
    for (T o : iterable) {
      try {
        action.accept(o);
      }
      catch (Throwable e) {
        logError(e);
      }
    }
  }
public static <T> void forEachSafe(Iterable<? extends T> iterable, Consumer<? super T> action)