Improve logging on event parsing failure

This commit is contained in:
Konstantinos Sideris 2017-12-16 19:31:07 +02:00
parent 7e24a468b5
commit b5e692bb28
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit d7227d213c253f784b3fd470e0ac98165d2de568 Subproject commit 6bfd6362c57e687904ed1fbb622f4bdaae038cc3

View file

@ -238,7 +238,7 @@ MatrixClient::sync() noexcept
mtx::responses::Sync response = nlohmann::json::parse(reply->readAll()); mtx::responses::Sync response = nlohmann::json::parse(reply->readAll());
emit syncCompleted(response); emit syncCompleted(response);
} catch (std::exception &e) { } catch (std::exception &e) {
qWarning() << "Sync malformed response" << e.what(); qWarning() << "Sync malformed response: " << e.what();
} }
}); });
} }