Actually pass response to exception object
This commit is contained in:
parent
9e1e7c3377
commit
5d8affbb5f
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class Response:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if self.errCode is not None:
|
if self.errCode is not None:
|
||||||
raise exception_classes.get(self.errCode, OMResponseException)()
|
raise exception_classes.get(self.errCode, OMResponseException)(response=self)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def seq(self):
|
def seq(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue