smartinez87/exception_notification — Issue #54: exception notification is failing with a "comparison of symbol with string failed" error
Author: aesthetica
Created: 2012-01-19 14:13:29+00:00
State: open

I have a new site I am working on and the exception_notification gem seems to be not working. Not sure why, but here is what I am seeing every time an error is generated. Anyone have any ideas as to why this is happening? Did I misconfigure something?

Showing /Users/aesthetica/.rvm/gems/ruby-1.9.2-p290@ppigraphics/gems/exception_notification-2.5.2/lib/exception_notifier/views/exception_notifier/_environment.text.erb where line #3 raised:

comparison of Symbol with String failed
Extracted source (around line #3):

1: <% filtered_env = @request.filtered_env -%>
2: <% max = filtered_env.keys.max { |a, b| a.length <=> b.length } -%>
3: <% filtered_env.keys.sort.each do |key| -%>
4: * <%= raw("%-*s: %s" % [max.length, key, inspect_object(filtered_env[key])]) %>
5: <% end -%>
6: