diff options
author | Brendan Long <self@brendanlong.com> | 2019-02-20 22:23:29 +0300 |
---|---|---|
committer | Brendan Long <self@brendanlong.com> | 2019-02-20 22:28:23 +0300 |
commit | c2849ca854c4cf9c1a89168611002cc1894ca2c5 (patch) | |
tree | ec7d561f96a8631dcc5b5a902571c1b3fff01d6c /plugins | |
parent | 6905f466acb4b0fefd7f6269940202ff389a52dc (diff) |
Add an error message when trying to add a feed that already exists
See #883
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/backend/decsync/decsyncInterface.vala | 1 | ||||
-rw-r--r-- | plugins/backend/local/localInterface.vala | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/backend/decsync/decsyncInterface.vala b/plugins/backend/decsync/decsyncInterface.vala index 4f42ee77..591bcb97 100644 --- a/plugins/backend/decsync/decsyncInterface.vala +++ b/plugins/backend/decsync/decsyncInterface.vala @@ -405,6 +405,7 @@ public class FeedReader.decsyncInterface : FeedServerInterface { ); return true; } + errmsg = _("Can't add feed because it already exists: ") + feedURL; } return false; diff --git a/plugins/backend/local/localInterface.vala b/plugins/backend/local/localInterface.vala index 47f2e543..46b9ed96 100644 --- a/plugins/backend/local/localInterface.vala +++ b/plugins/backend/local/localInterface.vala @@ -396,6 +396,7 @@ public class FeedReader.localInterface : FeedServerInterface { db.write_feeds(ListUtils.single(feed)); return true; } + errmsg = _("Can't add feed because it already exists: ") + feedURL; } return false; |