From b5e692bb28e741be4421d3127c507344fde7bf41 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sat, 16 Dec 2017 19:31:07 +0200 Subject: [PATCH] Improve logging on event parsing failure --- libs/matrix-structs | 2 +- src/MatrixClient.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/matrix-structs b/libs/matrix-structs index d7227d21..6bfd6362 160000 --- a/libs/matrix-structs +++ b/libs/matrix-structs @@ -1 +1 @@ -Subproject commit d7227d213c253f784b3fd470e0ac98165d2de568 +Subproject commit 6bfd6362c57e687904ed1fbb622f4bdaae038cc3 diff --git a/src/MatrixClient.cc b/src/MatrixClient.cc index 4634345b..b5dfe514 100644 --- a/src/MatrixClient.cc +++ b/src/MatrixClient.cc @@ -238,7 +238,7 @@ MatrixClient::sync() noexcept mtx::responses::Sync response = nlohmann::json::parse(reply->readAll()); emit syncCompleted(response); } catch (std::exception &e) { - qWarning() << "Sync malformed response" << e.what(); + qWarning() << "Sync malformed response: " << e.what(); } }); }