<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -44,9 +44,12 @@ module ExceptionNotification
   
   def status_500(request = generic_request)
     headers[&quot;Status&quot;] = &quot;500 Internal Server Error&quot;
-    page = Page.find_error_page(500)
-    page.request = request
-    response.body = page.render
+    if page = Page.find_error_page(500)
+      page.request = request
+      response.body = page.render
+    else
+      response.body = &quot;500 Internal Server Error. An exception occured while processing your request. Additionally, a custom Radiant managed 500 page was not found.&quot;
+    end
   end
   
   def generic_request</diff>
      <filename>lib/exception_notification.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6dc67cbd3d60446db1cfb0ab2b38d34ea7d8cde8</id>
    </parent>
  </parents>
  <author>
    <name>Kunal Shah</name>
    <email>kunal@digitalpulp.com</email>
  </author>
  <url>http://github.com/digitalpulp/radiant-exception-notification-extension/commit/0418d73d75b31f6fd3cc8627bd7133542085d183</url>
  <id>0418d73d75b31f6fd3cc8627bd7133542085d183</id>
  <committed-date>2009-07-14T15:22:40-07:00</committed-date>
  <authored-date>2009-07-14T15:22:40-07:00</authored-date>
  <message>If no 500 page is found, render the 500 response and notify the user as to the missing page</message>
  <tree>21d44d0c20aba818a7a99c99b4de9e906d08fb79</tree>
  <committer>
    <name>Kunal Shah</name>
    <email>kunal@digitalpulp.com</email>
  </committer>
</commit>
