summaryrefslogtreecommitdiff
path: root/lib/rbot/registry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/registry.rb')
-rw-r--r--lib/rbot/registry.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/rbot/registry.rb b/lib/rbot/registry.rb
index 749f1830..d6c06782 100644
--- a/lib/rbot/registry.rb
+++ b/lib/rbot/registry.rb
@@ -180,15 +180,13 @@ module Irc
Marshal.restore(val)
rescue Exception => e
error "failed to restore marshal data for #{val.inspect}, attempting recovery or fallback to default"
- debug e.inspect
- debug e.backtrace.join("\n")
+ debug e
if @recovery
begin
return @recovery.call(val)
rescue Exception => ee
error "marshal recovery failed, trying default"
- debug ee.inspect
- debug ee.backtrace.join("\n")
+ debug ee
end
end
unless @default.nil?