bodhi/controllers.py | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit c2ad8ee3268305b2e8b11fc244eefaf5756b6a15 Author: Luke Macken lmacken@redhat.com Date: Thu Apr 30 20:36:33 2009 -0400
Catch PackageDB exceptions when trying to get the ACLs.
diff --git a/bodhi/controllers.py b/bodhi/controllers.py index 0bf2961..5da54b2 100644 --- a/bodhi/controllers.py +++ b/bodhi/controllers.py @@ -539,6 +539,10 @@ class Root(controllers.RootController): flash_log("Unable to access the package database. Please " "notify an administrator in #fedora-admin") raise InvalidUpdateException(params) + except Exception, e: + log.exception(e) + flash_log(str(e)) + raise InvalidUpdateException(params)
# Verify that the user is either in the committers list, or is # a member of a groups that has privileges to commit to this package