changeset 3809:888574a117e6

log exception causing URI
author Johannes Berg <johannes AT sipsolutions DOT net>
date Tue, 01 Jul 2008 12:31:04 +0200
parents 8c5fbc62dd1d
children 88bec029f481
files MoinMoin/failure.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/failure.py	Mon Jun 30 21:41:04 2008 +0200
+++ b/MoinMoin/failure.py	Tue Jul 01 12:31:04 2008 +0200
@@ -156,7 +156,7 @@
         raise err
 
     savedError = sys.exc_info()
-    logging.exception('An exception occured.')
+    logging.exception('An exception occurred, URI was "%s".' % request.request_uri)
 
     try:
         display = request.cfg.traceback_show # might fail if we have no cfg yet