Commit 9fa8cff
Fix TypeError: Object of type DBusException is not JSON serializable
When a datastore exception occurs, the error cannot be sent to the
caller because the object cannot be serialised. Problem was inherent in
original design.
Convert the exception to a string before sending it.
Related to
#909
Part of
#911
Signed-off-by: James Cameron <[email protected]>1 parent b9ea02c commit 9fa8cff
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
264 | 267 | | |
265 | 268 | | |
266 | 269 | | |
| |||
0 commit comments