Open
Description
Instead of (re-)throwing a new / the existing exception of JsonSerializer there is a string returned (not everywhere but in some methods):
string(41) "Error decoding body as JSON: Syntax error"
That's a bit tricky as we cannot catch the error and handle it.
So we've also to check the return of a call (i. e. getApi('issue')->show(...)
).