app/views/error.rhtml in Pimki-1.6.092 vs app/views/error.rhtml in Pimki-1.7.092

- old
+ new

@@ -22,11 +22,13 @@ <code style="color:red"><%= html_escape @error_details.message %></code> </p> <p><b>Action:</b> <%= @action_name %></p> -<p><b>Backtrace:</b><br /> - <table border="0"> +<p><b>Request:</b> <%= @req %></p> + +<p><b>Backtrace:</b></p> +<p><table border="0"> <% for line in @error_details.backtrace %> <tr><td><code><%= line.sub(/(.*)\/(\w+\.rb):(\d+):in (.*)/, '\1/<b>\2</b>:\3:in <b>\4</b>') %></code></td></tr> <% end %> </p>