Support exceptions without stacktraces.

This fixes #741
This commit is contained in:
Armin Ronacher 2016-03-07 21:07:14 +01:00
parent d58722f005
commit 865b3f9ab4
2 changed files with 8 additions and 2 deletions

View File

@ -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
--------------

View File

@ -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):