From 5347dc743a9e1c7d4849f0ce11f02b76cb4e3403 Mon Sep 17 00:00:00 2001 From: ianb Date: Sat, 21 Oct 2006 21:54:17 +0000 Subject: Fixed error message when no message is provided; noted by Alex Ross --- paste/exceptions/errormiddleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste/exceptions') diff --git a/paste/exceptions/errormiddleware.py b/paste/exceptions/errormiddleware.py index 1e97693..d49d71d 100644 --- a/paste/exceptions/errormiddleware.py +++ b/paste/exceptions/errormiddleware.py @@ -378,7 +378,7 @@ def handle_exception(exc_info, error_stream, html=True, An error occurred. See the error logs for more information. (Turn debug on to display exception reports here) ''' - return_error = error_template('', error_message, '') + return_error = error_template('', msg, '') else: return_error = None if not reported and error_stream: -- cgit v1.2.1