mirror of
https://github.com/sprockets/sprockets.mixins.json_error.git
synced 2024-11-21 19:28:38 +00:00
write_error: get exc_info should return a triple.
This commit is contained in:
parent
f21a6a583f
commit
dcec231bac
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue