diff --git a/src/main/java/app/updates/PreviewUpdater.java b/src/main/java/app/updates/PreviewUpdater.java index fa5a451..e7eeb86 100644 --- a/src/main/java/app/updates/PreviewUpdater.java +++ b/src/main/java/app/updates/PreviewUpdater.java @@ -76,18 +76,14 @@ public class PreviewUpdater extends BaseUpdater{ logger.info("Request: {}", url); restTemplate.headForHeaders(url); return url; - } catch (RestClientException err) { - logger.warn("Not found: {}, err: {}", url, err); - } + } catch (RestClientException err) {} //Check txt contained url url = preview.formatted(domain, map, "url"); try { logger.info("Request: {}", url); return restTemplate.getForEntity(url, String.class).getBody().replace("\n", ""); - } catch (RestClientException err) { - logger.warn("Not found: {}, err: {}", url, err); - } + } catch (RestClientException err) {} return null; }