Sha256: a8b15836b2dc8929bcf65441c5ecddd7a5438f1a8c1c14378d40d050020ba455
Contents?: true
Size: 778 Bytes
Versions: 2
Compression:
Stored size: 778 Bytes
Contents
<!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title>Exception</title> </head> <body> <pre style="font-size: 12px"> <%= @exception.class.to_s =~ /^[aeiou]/i ? 'An' : 'A' %> <%= @exception.class %> occurred in background at <%= raw Time.current %> : <%= @exception.message %> <%= @backtrace.first %> <% sections = @sections.map do |section| summary = render(section).strip unless summary.blank? title = render("title", :title => section).strip "#{title}\n\n#{summary.gsub(/^/, " ")}\n\n" 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 %> </pre> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems