Mercurial > kallithea
diff rhodecode/lib/helpers.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 | 32cb8d45f330 |
children | 659bd922520e |
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py Thu Mar 28 03:29:38 2013 +0100 +++ b/rhodecode/lib/helpers.py Thu Mar 28 03:34:36 2013 +0100 @@ -1140,7 +1140,7 @@ if link_: # wrap not links into final link => link_ newtext = linkify_others(newtext, link_) - except: + except Exception: log.error(traceback.format_exc()) pass