private void checkWithMessage(String name, Supplier<Optional<String>> check) {
    try {
      checks.add(new Check(name, check.get()));
    } catch (Throwable e) {
      checks.add(new Check(name, Optional.of(e.toString())));
    }
  }
Exits with a nonzero exit code if there were any failures.
planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Verify.java