0001-agoraplus-fix-argument-list-for-error-formatting-195.patch
passerelle/contrib/agoraplus/models.py | ||
---|---|---|
72 | 72 |
try: |
73 | 73 |
if expected_type is not None and not isinstance(response, expected_type): |
74 | 74 |
raise AgoraAPIError( |
75 |
'failure %s: we expected %s and got: %r' % (expected_type.__name__, response)) |
|
75 |
'failure %s: we expected %s and got: %r' % (msg, expected_type.__name__, response))
|
|
76 | 76 | |
77 | 77 |
yield response |
78 | 78 |
except AgoraAPIError: |
79 |
- |