Commit 1ec24d914c7701c0b98e1beb3f8b8e6b33252c1b

Authored by Nathan Broadbent
1 parent 55b51663
Exists in master and in 1 other branch production

Added user agent to notification emails

app/views/mailer/err_notification.html.haml
... ... @@ -34,6 +34,9 @@
34 34 %p.monospace
35 35 - if @notice.request['url'].present?
36 36 = link_to @notice.request['url'], @notice.request['url']
  37 + %p.heading BROWSER:
  38 + %p.monospace
  39 + = user_agent_graph(@notice.problem)
37 40 %p.heading BACKTRACE:
38 41 - @notice.backtrace_lines.each do |line|
39 42 %p.backtrace= line
... ...
app/views/mailer/err_notification.text.erb
... ... @@ -24,6 +24,11 @@ URL:
24 24 <%= @notice.request['url'] %>
25 25  
26 26  
  27 +BROWSER:
  28 +
  29 +<%= @notice.user_agent_string %>
  30 +
  31 +
27 32 BACKTRACE:
28 33  
29 34 <% @notice.backtrace_lines.each do |line| %>
... ...