From b7563aec7cfb2b22537c17d03355384d346a201d Mon Sep 17 00:00:00 2001 From: MinRK Date: Tue, 7 Jan 2014 15:16:13 -0800 Subject: [PATCH] be more specific about unknown status codes per review --- IPython/html/base/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/base/handlers.py b/IPython/html/base/handlers.py index c9333804f..14b9ee410 100644 --- a/IPython/html/base/handlers.py +++ b/IPython/html/base/handlers.py @@ -212,7 +212,7 @@ class IPythonHandler(AuthenticatedHandler): """render custom error pages""" exception = kwargs.get('exception') message = '' - status_message = responses.get(status_code, 'Unknown') + status_message = responses.get(status_code, 'Unknown HTTP Error') if exception: # get the custom message, if defined try: