500.html 633 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html class="dark">
  3. <meta charset="utf-8">
  4. <title>500: Something went wrong</title>
  5. <link rel="stylesheet" href="/assets/error/style.css">
  6. <body <% if @traceback %>class="error-message"<% end %>>
  7. <h1>500: We're sorry, but something went wrong.</h1>
  8. <% if !@traceback %>
  9. <div class="error-image" style="background-image: url(/assets/error/error-2.svg)"></div>
  10. <p>We're sorry, but something went wrong.</p>
  11. <% else %>
  12. <div><%= @exception.message %></div>
  13. <% if @exception.backtrace %>
  14. <pre><code>
  15. <% @exception.backtrace.each {|row| %>
  16. <%= row %>
  17. <% } %></code></pre>
  18. <% end %>
  19. <% end %>
  20. </body>
  21. </html>