Actually pass response to exception object

This commit is contained in:
clerie 2022-01-06 23:56:35 +01:00
parent 9e1e7c3377
commit 5d8affbb5f

View File

@ -75,7 +75,7 @@ class Response:
"""
if self.errCode is not None:
raise exception_classes.get(self.errCode, OMResponseException)()
raise exception_classes.get(self.errCode, OMResponseException)(response=self)
@property
def seq(self):