[Mpuls-commits] r1390 - wasko/branches/2.0/mpulsweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 15:24:35 CET 2010


Author: torsten
Date: 2010-02-09 15:24:33 +0100 (Tue, 09 Feb 2010)
New Revision: 1390

Modified:
   wasko/branches/2.0/mpulsweb/controllers/administration.py
Log:
Added logging of exception


Modified: wasko/branches/2.0/mpulsweb/controllers/administration.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/administration.py	2010-02-09 14:23:29 UTC (rev 1389)
+++ wasko/branches/2.0/mpulsweb/controllers/administration.py	2010-02-09 14:24:33 UTC (rev 1390)
@@ -168,7 +168,8 @@
                 c.url_yes = "/administration/deleteUserGroup/%s/1" % ugo.id
                 c.url_no = "/administration/overviewUserGroups/"
                 return render('/administration/dialogs/confirm_deleteusergroup.mako')
-        except:
+        except Exception, e:
+            log.exception(e)
             c.dialog_title = DELETE_USERGROUP_FAILED_HEADER
             c.dialog_text = DELETE_USERGROUP_FAILED_TEXT
             c.url_ok = "/administration/overviewUserGroups"



More information about the Mpuls-commits mailing list