Actually pass response to exception object
This commit is contained in:
@@ -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):
|
||||||
|
Reference in New Issue
Block a user