diff --git a/src/ciste/model.clj b/src/ciste/model.clj index beafe94..626544a 100644 --- a/src/ciste/model.clj +++ b/src/ciste/model.clj @@ -43,9 +43,7 @@ "Fetch the url, return the string" [^String url] (log/debugf "fetching resource: %s" url) - (if-let [response (try (client/get url) - (catch Exception ex - (log/error ex)))] + (if-let [response (client/get url)] (let [{:keys [body status]} response] (when (not (#{404 500} status)) body))))