code: public static List<Long> getDurationList(Config config, String path, TimeUnit timeUnit) {
          try {
              return config.getDurationList(path, timeUnit);
          } catch (ConfigException.Missing | ConfigException.WrongType | ConfigException.BadValue e) {
              if (e instanceof ConfigException.WrongType || e instanceof ConfigException.BadValue) {
                  LOGGER.warn(e.getMessage(), e);
              }
              return null;
          }
      }
docs: Get a configuration as list of durations (parses special strings like "10s"). Return
  {@code null} if missing, wrong type or bad value.
  
  @param config
  @param path
  @param timeUnit
  @return