diff --git a/CHANGES b/CHANGES index 91e368e9..93446c4e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +Version 5.11.1 +-------------- + +* The raven client supports the stacktrace to be absent. This improves support + with celery and multiprocessing. + Version 5.11.0 -------------- diff --git a/raven/base.py b/raven/base.py index 6cceca81..0b58fed0 100644 --- a/raven/base.py +++ b/raven/base.py @@ -276,9 +276,9 @@ class Client(object): return ( exc_info[0], id(exc_info[1]), - id(exc_info[2].tb_frame.f_code), + id(exc_info[2] and exc_info[2].tb_frame.f_code), id(exc_info[2]), - exc_info[2].tb_lasti, + exc_info[2] and exc_info[2].tb_lasti, ) def skip_error_for_logging(self, exc_info):