Skip to content

Commit 2a9ec30

Browse files
mbanczerowskigoggalaxy
authored andcommitted
Fix sending Exceptions with custom data
1 parent 69532a5 commit 2a9ec30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/galaxy/api/jsonrpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def json(self):
2929
}
3030

3131
if self.data is not None:
32-
obj["error"]["data"] = self.data
32+
obj["data"] = self.data
3333

3434
return obj
3535

0 commit comments

Comments
 (0)