diff --git a/project.clj b/project.clj index beaa581..b9f0c2e 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject rsspaper "1.2.3" +(defproject rsspaper "1.2.4" :description "RSSpaper" :url "https://github.com/tanrax/RSSpaper" :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" diff --git a/src/rsspaper/feeds.clj b/src/rsspaper/feeds.clj index d1412f8..8494cef 100644 --- a/src/rsspaper/feeds.clj +++ b/src/rsspaper/feeds.clj @@ -91,12 +91,9 @@ (conj feeds (assoc feed :feed-url feed-url)) ; Alert fail (prn (str "Error with '" feed-url) "'"))) - (catch clojure.lang.ExceptionInfo e - (let [response (ex-data e) - {:keys [status headers]} response] + (catch Throwable e (prn (str feed-url " has been ignored because of bad formatting.")) - ;; do anything you want - )))) + ))) [] (:feeds config)) zip-feeds-in-articles datetimes-to-unixtime