Permalink
Browse files

Debug: Don't fatally crash if something happens when recording except…

…ion data
  • Loading branch information...
1 parent 5223dfc commit 94cde9d8d1ca3fd2c1ee1a1e02c37e3d506012ee @codewarrior0 codewarrior0 committed Feb 16, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 mceutils.py
View
@@ -57,7 +57,8 @@ def _alertException(*args, **kw):
squash_python.get_client().recordException(*sys.exc_info())
except ImportError:
pass
-
+ except Exception:
+ logging.exception("Error while recording exception data:")
return _alertException

0 comments on commit 94cde9d

Please sign in to comment.