diff options
author | francis <francis> | 2008-01-22 17:59:50 +0000 |
---|---|---|
committer | francis <francis> | 2008-01-22 17:59:50 +0000 |
commit | 9fcb41f57d9a88d3e3fcde66dc74bbba7e452ef6 (patch) | |
tree | 3a5f18baf3d1f01704e1d5e5a69f881ebaf692ec /app/views/general/exception_caught.rhtml | |
parent | ea164e30e274dc712820e9ece6e9a50d5b52ef45 (diff) |
Instead of Rails, we grab all exceptions, and show formatted 404 error with
exception class.
Diffstat (limited to 'app/views/general/exception_caught.rhtml')
-rw-r--r-- | app/views/general/exception_caught.rhtml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/general/exception_caught.rhtml b/app/views/general/exception_caught.rhtml new file mode 100644 index 000000000..6db1e7d34 --- /dev/null +++ b/app/views/general/exception_caught.rhtml @@ -0,0 +1,12 @@ +<h1>Sorry, we couldn't find that page</h1> + +<p>You've requested a page which doesn't exist, or which we have moved. +Perhaps you mistyped the address? Other things you can try:</p> + +<ul> +<li>Go to <a href="/">our front page</a></li> +<li><a href="mailto:<%=contact_email%>">Email us</a> to tell us about + the problem</li> +</ul> + +<p id="error_technical_details"><strong>Technical details:</strong> <%=@exception_class ? @exception_class : "Unknown"%></p> |