diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-12-28 13:07:39 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-12-28 13:07:39 +0100 |
commit | 51c35168127e0faed56bceb3f5103f92ed31478c (patch) | |
tree | c0b7073e4a6a417a03951706c6ccd26437641e74 /data/rbot/plugins/rss.rb | |
parent | 97732b1926746040373e803c3d7b9c43939aa6e6 (diff) |
plugins: raise a descriptive LoadError when the db is corrupt on load
Diffstat (limited to 'data/rbot/plugins/rss.rb')
-rw-r--r-- | data/rbot/plugins/rss.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 45ee4a23..7dcfdf66 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -445,7 +445,7 @@ class RSSFeedsPlugin < Plugin } @feeds = @registry[:feeds] - raise unless @feeds + raise LoadError, "corrupted feed database" unless @feeds @registry.recovery = nil |