Fix debug message in MatrixHTTPAPI
It now prints the whole JSON data that has been parsed.
This commit is contained in:
parent
10b6296565
commit
eb3ad3633f
@ -340,7 +340,7 @@ response_callback(SoupSession *session,
|
|||||||
if (json_parser_load_from_data(parser,
|
if (json_parser_load_from_data(parser,
|
||||||
(const gchar *)data, datalen,
|
(const gchar *)data, datalen,
|
||||||
&err)) {
|
&err)) {
|
||||||
g_debug("Message successfully parsed");
|
g_debug("Data: %s", data);
|
||||||
content = json_parser_get_root(parser);
|
content = json_parser_get_root(parser);
|
||||||
|
|
||||||
if (JSON_NODE_HOLDS_OBJECT(content)) {
|
if (JSON_NODE_HOLDS_OBJECT(content)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user