diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/reloader.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/reloader.cpp b/src/reloader.cpp index 7f75a25d..ca26007b 100644 --- a/src/reloader.cpp +++ b/src/reloader.cpp @@ -142,11 +142,14 @@ void Reloader::reload(unsigned int pos, _("Error while retrieving %s: %s"), utils::censor_url(oldfeed->rssurl()), emsg); - } catch (rsspp::Exception& e) { + } catch (const rsspp::Exception& e) { errmsg = strprintf::fmt( _("Error while retrieving %s: %s"), utils::censor_url(oldfeed->rssurl()), e.what()); + } catch (const rsspp::NotModifiedException&) { + // Nothing to be done, feed was not chaned since last retrieve + oldfeed->set_status(DlStatus::SUCCESS); } if (!errmsg.empty()) { oldfeed->set_status(DlStatus::DL_ERROR); |