mirror of
https://github.com/gogcom/galaxy-integrations-python-api.git
synced 2026-01-21 05:08:38 -05:00
Fix sending Exceptions with custom data
This commit is contained in:
committed by
Rafal Makagon
parent
69532a5ba9
commit
2a9ec3067d
@@ -29,7 +29,7 @@ class JsonRpcError(Exception):
|
||||
}
|
||||
|
||||
if self.data is not None:
|
||||
obj["error"]["data"] = self.data
|
||||
obj["data"] = self.data
|
||||
|
||||
return obj
|
||||
|
||||
|
||||
Reference in New Issue
Block a user