_atom_entry.atom.haml
732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%h2= notice.message
%h3 Summary
- if notice.request['url'].present?
%p
%strong URL:
= link_to(notice.request['url'], notice.request['url'])
%p
%strong Where:
= notice.where
%p
%strong Occured:
= notice.created_at.to_s(:micro)
%p
%strong Similar:
= notice.problem.notices_count - 1
%h3 Params
%p= pretty_hash(notice.params)
%h3 Session
%p= pretty_hash(notice.session)
%h3 Backtrace
%table
- for line in notice.backtrace_lines
%tr
%td
= "#{line.number}:"
%td
= raw "#{h line.file_relative} -> #{content_tag :strong, h(line.method)}"
%h3 Environment
%table
- for key, val in notice.env_vars
%tr
%td
= h key
%td
= h val