Actually pass response to exception object
This commit is contained in:
parent
9e1e7c3377
commit
5d8affbb5f
@ -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…
Reference in New Issue
Block a user