Sha256: 2cd28d6d184fe656a2513fc4667795ebb332238d7dcd21887a240bfe2a0bd413

Contents?: true

Size: 730 Bytes

Versions: 4

Compression:

Stored size: 730 Bytes

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Exception Escalation</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  </head>
  <body>
    <h3><%=h @summary %></h3>
    <b>Error #:</b>  <%= h(@cleaned_data[:timestamp]).presence || '<i>no error #</i>'.html_safe -%><br />
    <b>Exception:</b>  <%= h(@cleaned_data[:error_string]).gsub("\n","<br/>\n").gsub(/ {2,}/) { |spaces| '&nbsp;'*spaces.size }.html_safe %><br />
    <b>Server:</b>   <%= h(@server).presence || '<i>hostname not set</i>'.html_safe -%><br />
  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
exception_handling-1.0.0 views/exception_handling/mailer/escalation_notification.html.erb
exception_handling-0.2.0 views/exception_handling/mailer/escalation_notification.html.erb
exception_handling-0.1.2 views/exception_handling/mailer/escalation_notification.html.erb
exception_handling-0.1.1 views/exception_handling/mailer/escalation_notification.html.erb