Mercurial > kallithea
comparison rhodecode/model/db.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 | 260a7a01b054 |
children | ddc4c12f00fb |
comparison
equal
deleted
inserted
replaced
3630:5d8cda8e63dc | 3631:10b4e34841a4 |
---|---|
800 | 800 |
801 @changeset_cache.setter | 801 @changeset_cache.setter |
802 def changeset_cache(self, val): | 802 def changeset_cache(self, val): |
803 try: | 803 try: |
804 self._changeset_cache = json.dumps(val) | 804 self._changeset_cache = json.dumps(val) |
805 except: | 805 except Exception: |
806 log.error(traceback.format_exc()) | 806 log.error(traceback.format_exc()) |
807 | 807 |
808 @classmethod | 808 @classmethod |
809 def url_sep(cls): | 809 def url_sep(cls): |
810 return URL_SEP | 810 return URL_SEP |