File tree Expand file tree Collapse file tree 1 file changed +25
-8
lines changed
app/views/email_error_reporter/error_mailer Expand file tree Collapse file tree 1 file changed +25
-8
lines changed Original file line number Diff line number Diff line change 1
- < h1 > <%= @error . class %> </ h1 >
2
- < p > <%= @error . message %> </ p >
3
-
4
- < div >
5
- < table border ="1 ">
6
- <%= render ( partial : "frame" , collection : @backtrace ) || render ( "no_backtrace" ) -%>
7
- </ table >
8
- </ div >
1
+ < html >
2
+ < body style ="max-width: 768px; margin: 0 auto; ">
3
+ < h1 > <%= @error . class %> </ h1 >
4
+ < p > <%= @error . message %> </ p >
5
+
6
+ < div >
7
+ < table border ="1 ">
8
+ <%= render ( partial : "frame" , collection : @backtrace ) || render ( "no_backtrace" ) -%>
9
+ </ table >
10
+ </ div >
11
+
12
+ < hr >
13
+
14
+ < details >
15
+ < summary > Details</ summary >
16
+ < p > Handled: <%= @handled ? "✅" : "❌" %> </ p >
17
+ < p > Source: <%= @source ? @source : "No source present" %> </ p >
18
+
19
+ < h2 > Context</ h2 >
20
+ < pre style ="font-family: mono; background: #ffeeff "> < code >
21
+ <%= @context %>
22
+ </ code > </ pre >
23
+ </ details >
24
+ </ body >
25
+ </ html >
You can’t perform that action at this time.
0 commit comments