Source

CherryPy / tutorial / custom_error.html

The branch 'cp3-wsgi-remix' does not exist.
Diff from to

tutorial/custom_error.html

     <title>403 Unauthorized</title>
 </head>
     <body>
-
-        <h2>You can't do that!</h2>
-        <p>This is a custom error page that is read from a file.<p>
+        <h2>You can't do that!</h2>
+        <p>%(message)s</p>
+        <p>This is a custom error page that is read from a file.<p>
+        <p>%(traceback)s</p>
     </body>
-
-</html>
-
-
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
-<head>
-    <title>403 Unauthorized</title>
-</head>
-    <body>
-
-        <h2>You can't do that!</h2>
-        <p>This is a custom error page that is read from a file.<p>
-    </body>
-
-</html>
-
-
+</html>