Mercurial > kallithea
diff rhodecode/controllers/admin/admin.py @ 3631:10b4e34841a4 beta
Don't catch all exceptions
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 28 Mar 2013 03:34:36 +0100 |
parents | 86e087bd75ce |
children | 3563bb7b4b82 9d743ca9cede |
line wrap: on
line diff
--- a/rhodecode/controllers/admin/admin.py Thu Mar 28 03:29:38 2013 +0100 +++ b/rhodecode/controllers/admin/admin.py Thu Mar 28 03:34:36 2013 +0100 @@ -130,7 +130,7 @@ c.search_term = request.GET.get('filter') try: users_log = _journal_filter(users_log, c.search_term) - except: + except Exception: # we want this to crash for now raise