changeset 358:1ebd874dc552

Fixed exception handling in the WSGI code. imported from: moin--main--1.5--patch-362
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Thu, 05 Jan 2006 19:11:46 +0000
parents 04ad48f1d36b
children 460c80f712b1
files MoinMoin/request.py docs/CHANGES
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request.py	Tue Jan 03 21:09:42 2006 +0000
+++ b/MoinMoin/request.py	Thu Jan 05 19:11:46 2006 +0000
@@ -2052,7 +2052,7 @@
             self._setup_vars_from_std_env(env)
             RequestBase.__init__(self, {})
         
-        except error.FatalError, err:
+        except Exception, err:
             self.fail(err)
     
     def setup_args(self, form=None):
--- a/docs/CHANGES	Tue Jan 03 21:09:42 2006 +0000
+++ b/docs/CHANGES	Thu Jan 05 19:11:46 2006 +0000
@@ -11,6 +11,7 @@
      * MoinMoin links get the appropriate CSS class
      * Images do not get special CSS markup anymore
      Thanks to Matthew Gilbert.
+    * Fixed a bug in the WSGI code which led to incorrect exception handling.
 
 Version 1.5.0rc1:
   This is the first release candidate of MoinMoin 1.5.0.