summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/rss.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-12-28 13:07:39 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-12-28 13:07:39 +0100
commit51c35168127e0faed56bceb3f5103f92ed31478c (patch)
treec0b7073e4a6a417a03951706c6ccd26437641e74 /data/rbot/plugins/rss.rb
parent97732b1926746040373e803c3d7b9c43939aa6e6 (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.rb2
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