Sha256: 0ea6b59570b38b157913893373b00852df45ad3438fc5c41e975763eb4ff1f4c
Contents?: true
Size: 937 Bytes
Versions: 16
Compression:
Stored size: 937 Bytes
Contents
<meta name="exception_notification_http"> <h2><%= @attr[:exception].class %> occurred in <%= @attr[:kontroller].controller_name %></h2> <pre> <%= @attr[:exception].message %> <%= @attr[:backtrace].first %> </pre> <% sections = @attr[:sections].map do |section| begin summary = render(section).strip if summary.present? title = render("title", :title => section).strip "#{title}#{summary}" end rescue Exception => e title = render("title", :title => section).strip summary = [[e.class.to_s, e.message].join(": "), e.backtrace && e.backtrace.join("\n")].compact.join("\n\n") [title, "<p><i>None</i></p><pre style='display:none'>" + summary + "</pre>"].join("") end end.join sections = sections.force_encoding('UTF-8').encode('UTF-16LE', :invalid => :replace).encode('UTF-8') if sections.respond_to?(:force_encoding) -%> <%= raw sections %>
Version data entries
16 entries across 16 versions & 1 rubygems