Mercurial > kallithea
diff rhodecode/controllers/pullrequests.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 | ceb6d57d1998 |
children | ec6354949623 |
line wrap: on
line diff
--- a/rhodecode/controllers/pullrequests.py Thu Mar 28 03:29:38 2013 +0100 +++ b/rhodecode/controllers/pullrequests.py Thu Mar 28 03:34:36 2013 +0100 @@ -393,7 +393,7 @@ try: cur_status = c.statuses[c.pull_request.revisions[0]][0] - except: + except Exception: log.error(traceback.format_exc()) cur_status = 'undefined' if c.pull_request.is_closed() and 0: