Skip to content

Commit 380f941

Browse files
committed
wip
1 parent 2e97ed3 commit 380f941

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed
Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
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>

0 commit comments

Comments
 (0)