From 31468be866ab0f2d6a28bf5c114fdce74e27d8e5 Mon Sep 17 00:00:00 2001 From: Brian Howenstein Date: Tue, 25 Oct 2011 08:28:22 -0400 Subject: [PATCH] make sure they keys for additional context are strings --- lib/exception_notifier/notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/exception_notifier/notifier.rb b/lib/exception_notifier/notifier.rb index c55778c3..a225c82f 100644 --- a/lib/exception_notifier/notifier.rb +++ b/lib/exception_notifier/notifier.rb @@ -75,7 +75,7 @@ def background_exception_notification(exception, additional = {}) @options = (@notifier.args.first || {}).reverse_merge(self.class.default_options) @exception = exception @backtrace = exception.backtrace || [] - @additional_context = additional + @additional_context = additional.stringify_keys @sections = %w(additional_context backtrace) subject = compose_subject(exception)