dcramer/sentry — Issue #372: Error processing post_process() when trying to send email
Author: ralphje
Created: 2012-03-05 13:36:30+00:00
State: open

After updating to the latest Sentry version, I started receiving emails about a bug in Sentry. The bug is at line https://github.com/dcramer/sentry/blob/master/sentry/interfaces.py#L433 : the method get_traceback takes three arguments.

Stacktrace:

```
Error processing post_process() on "": TypeError('get_traceback() takes exactly 3 arguments (1 given)',)

Stacktrace (most recent call last):

File "sentry/processors/base.py", line 24, in send_group_processors
logger.exception('Error processing post_process() on %r: %s', inst.__class__, e)

File "sentry/plugins/sentry_mail/__init__.py", line 184, in post_process
self.mail_members(group, event)

File "sentry/plugins/sentry_mail/__init__.py", line 123, in mail_members
body = interface.to_string(event)

File "sentry/interfaces.py", line 433, in to_string
self.get_traceback()
```