Skip to content

Commit

Permalink
Fix sending Exceptions with custom data
Browse files Browse the repository at this point in the history
  • Loading branch information
mbanczerowski authored and goggalaxy committed Nov 27, 2019
1 parent 69532a5 commit 2a9ec30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/galaxy/api/jsonrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def json(self):
}

if self.data is not None:
obj["error"]["data"] = self.data
obj["data"] = self.data

return obj

Expand Down

0 comments on commit 2a9ec30

Please sign in to comment.