aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb
diff options
context:
space:
mode:
authorYuki Nishijima <yk.nishijima@gmail.com>2018-04-01 21:47:07 -0400
committerYuki Nishijima <yk.nishijima@gmail.com>2018-07-15 20:54:19 -0400
commit1f525b4f7dd8307f69c0a6d5cb252d41cc405f9d (patch)
tree59b5346c449a5db149bf5acea7da70f0a07c848e /actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb
parent94f2558f6a5bd315334d1b57a9aeeef48abfea20 (diff)
downloadrails-1f525b4f7dd8307f69c0a6d5cb252d41cc405f9d.tar.gz
rails-1f525b4f7dd8307f69c0a6d5cb252d41cc405f9d.tar.bz2
rails-1f525b4f7dd8307f69c0a6d5cb252d41cc405f9d.zip
Show nested exceptions on the debug view
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb')
-rw-r--r--actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb b/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb
index 2a65fd06ad..22eb6e9b4e 100644
--- a/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb
+++ b/actionpack/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb
@@ -5,7 +5,7 @@
<div id="container">
<h2><%= h @exception.message %></h2>
- <%= render template: "rescues/_source" %>
- <%= render template: "rescues/_trace" %>
+ <%= render "rescues/source", source_extracts: @source_extracts, show_source_idx: @show_source_idx %>
+ <%= render "rescues/trace", traces: @traces, trace_to_show: @trace_to_show %>
<%= render template: "rescues/_request_and_response" %>
</div>