In case there is no raised exception in the trace, all exc_info fields are None.
>>> sys.exc_info()
(None, None, None)
A traceback from an invalid object access on the exc_info members is not useful for debugging.
Instead we should reach the logic to reject the exception with a ValueError.
In case there is no raised exception in the trace, all exc_info fields are None.
A traceback from an invalid object access on the exc_info members is not useful for debugging. Instead we should reach the logic to reject the exception with a ValueError.
https://github.com/getsentry/raven-python/blob/34c3a52b13316ce3200e56978ff01a277f33d27a/raven/events.py#L116-L117