changeset 5302:abd4336edd29

AttachFile do=get crashing - log complete environ, so in case it is the user agent, we'll see which one
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 22 Nov 2009 10:09:04 +0100
parents ee5c26854fbc
children 57e468c58d92
files MoinMoin/action/AttachFile.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Sun Nov 22 09:57:04 2009 +0100
+++ b/MoinMoin/action/AttachFile.py	Sun Nov 22 10:09:04 2009 +0100
@@ -820,6 +820,7 @@
     except OverflowError:
         # there is likely a bug somewhere in stdlib or werkzeug that triggers this
         # we collect more data about it here and avoid moin crashing
+        logging.error("complete request.environ for exception below: %r" % request.environ)
         logging.exception("HTTP_IF_MODIFIED_SINCE == %r caused an OverflowError" %
                           request.environ.get('HTTP_IF_MODIFIED_SINCE'))
         if_modified = None