write_error: get exc_info should return a triple.

This commit is contained in:
AWeberChrisMcGuire 2014-11-18 11:00:20 -05:00
parent f21a6a583f
commit dcec231bac

View file

@ -23,7 +23,7 @@ class JsonErrorMixin(object):
object.
"""
_, raised_error, _ = kwargs.get('exc_info', (None, None))
_, raised_error, _ = kwargs.get('exc_info', (None, None, None))
error_type = getattr(raised_error, 'error_type', self._reason)