/usr/lib/ruby/vendor_ruby/action_dispatch/middleware/templates/rescues/template_error.text.erb is in ruby-actionpack 2:4.2.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | <%= @exception.original_exception.class.to_s %> in <%= @request.parameters["controller"].camelize if @request.parameters["controller"] %>#<%= @request.parameters["action"] %>
Showing <%= @exception.file_name %> where line #<%= @exception.line_number %> raised:
<%= @exception.message %>
<%= @exception.sub_template_message %>
<%= render template: "rescues/_trace", format: :text %>
<%= render template: "rescues/_request_and_response", format: :text %>
|