mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
#7941: fix error message
This commit is contained in:
parent
e511fc7979
commit
6f9030329c
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class BaseHandler:
|
|||
|
||||
# Error handling (also per-subclass or per-instance)
|
||||
traceback_limit = None # Print entire traceback to self.get_stderr()
|
||||
error_status = "500 Dude, this is whack!"
|
||||
error_status = "500 Internal Server Error"
|
||||
error_headers = [('Content-Type','text/plain')]
|
||||
error_body = "A server error occurred. Please contact the administrator."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue