Skip to content

Commit

Permalink
make sure they keys for additional context are strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hwrd committed Oct 25, 2011
1 parent b9c4810 commit 31468be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exception_notifier/notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 31468be

Please sign in to comment.