diff --git a/public/401.html b/public/401.html index 64c1d5368..436a395b2 100644 --- a/public/401.html +++ b/public/401.html @@ -11,10 +11,10 @@ <% else %>
<%= @exception.message %>
<% if @exception.backtrace %> -
Traceback:
- <% @exception.backtrace.each {|row| %> - <%= row %>
- <% } %> +

+<% @exception.backtrace.each {|row| %>
+  <%= row %>
+<% } %>
<% end %> <% end %> diff --git a/public/500.html b/public/500.html index 2d4d0c249..eeb80d48c 100644 --- a/public/500.html +++ b/public/500.html @@ -11,10 +11,10 @@ <% else %>
<%= @exception.message %>
<% if @exception.backtrace %> -
Traceback:
- <% @exception.backtrace.each {|row| %> - <%= row %>
- <% } %> +

+<% @exception.backtrace.each {|row| %>
+  <%= row %>
+<% } %>
<% end %> <% end %> diff --git a/public/assets/error/style.css b/public/assets/error/style.css index c4f893445..5a2a8886b 100644 --- a/public/assets/error/style.css +++ b/public/assets/error/style.css @@ -47,10 +47,16 @@ body.error-message { height: auto; } +pre { + text-align: left; + padding-bottom: 1em; + background: white; + color: #222; +} + h1 { margin: 0; color: #444a4f; - max-width: 450px; } .dark h1 {