Sha256: 69b6f461f80a36f5dd34ab9652f6272507a7cf3df70c96e85ded6a22828b75e1
Contents?: true
Size: 780 Bytes
Versions: 3
Compression:
Stored size: 780 Bytes
Contents
A <%= @exception.class %> occurred in <%= @kontroller.controller_name %>#<%= @kontroller.action_name %>: <%= raw @exception.message %> <%= raw @backtrace.first %> <% sections = @sections.map do |section| begin summary = render(section).strip unless summary.blank? title = render("title", :title => section).strip "#{title}\n\n#{summary.gsub(/^/, " ")}\n\n" end rescue Exception => e title = render("title", :title => section).strip summary = ["ERROR: Failed to generate exception summary:", [e.class.to_s, e.message].join(": "), e.backtrace && e.backtrace.join("\n")].compact.join("\n\n") [title, summary.gsub(/^/, " "), nil].join("\n\n") end end %> <%= raw sections.join %>
Version data entries
3 entries across 3 versions & 1 rubygems