Debug: Don't fatally crash if something happens when recording exception data

This commit is contained in:
David Vierra 2013-02-15 18:36:03 -10:00
parent 5223dfc0b7
commit 94cde9d8d1

View File

@ -57,7 +57,8 @@ def alertException(func):
squash_python.get_client().recordException(*sys.exc_info())
except ImportError:
pass
except Exception:
logging.exception("Error while recording exception data:")
return _alertException