summaryrefslogtreecommitdiff
path: root/cherrypy/tutorial/custom_error.html
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2005-10-08 18:44:09 +0000
committerRobert Brewer <fumanchu@aminus.org>2005-10-08 18:44:09 +0000
commit5e79e4fa67cb3b24f137e3cd908b8c924c562d1e (patch)
tree32817a0bd8fd2411b98253d7300994701f368374 /cherrypy/tutorial/custom_error.html
parentb7d24914e656586be38d25a47095ebc2ade561c1 (diff)
downloadcherrypy-git-5e79e4fa67cb3b24f137e3cd908b8c924c562d1e.tar.gz
Tutorial fixes, plus a bug in _cputil.getErrorPage.
Diffstat (limited to 'cherrypy/tutorial/custom_error.html')
-rw-r--r--cherrypy/tutorial/custom_error.html28
1 files changed, 5 insertions, 23 deletions
diff --git a/cherrypy/tutorial/custom_error.html b/cherrypy/tutorial/custom_error.html
index 7bd9934f..22ac603b 100644
--- a/cherrypy/tutorial/custom_error.html
+++ b/cherrypy/tutorial/custom_error.html
@@ -6,27 +6,9 @@
<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> \ No newline at end of file