Debug: Don't fatally crash if something happens when recording exception data
This commit is contained in:
parent
5223dfc0b7
commit
94cde9d8d1
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user