summaryrefslogtreecommitdiff
path: root/paste/exceptions
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-10-21 21:54:17 +0000
committerianb <devnull@localhost>2006-10-21 21:54:17 +0000
commit5347dc743a9e1c7d4849f0ce11f02b76cb4e3403 (patch)
treed30c5c97318c6219fd7cc1b08833eda9a6b80283 /paste/exceptions
parent44fa5352360b78696c3d81cafa8e24eaa4f6c3ed (diff)
downloadpaste-5347dc743a9e1c7d4849f0ce11f02b76cb4e3403.tar.gz
Fixed error message when no message is provided; noted by Alex Ross
Diffstat (limited to 'paste/exceptions')
-rw-r--r--paste/exceptions/errormiddleware.py2
1 files changed, 1 insertions, 1 deletions
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: