From 30cea59a42a368200494576ad8ae4e55151c7920 Mon Sep 17 00:00:00 2001 From: Noah Hilverling Date: Thu, 12 Nov 2020 12:39:49 +0100 Subject: [PATCH] WIP --- lib/remote/jsonrpcconnection.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/remote/jsonrpcconnection.cpp b/lib/remote/jsonrpcconnection.cpp index ced0cc3ce..10376c888 100644 --- a/lib/remote/jsonrpcconnection.cpp +++ b/lib/remote/jsonrpcconnection.cpp @@ -258,6 +258,9 @@ void JsonRpcConnection::MessageHandler(const String& jsonString) { Dictionary::Ptr message = JsonRpc::DecodeMessage(jsonString); + Log(LogCritical, "MESSAGE-HANDLER") + << "Got message from endpoint '" << m_Endpoint->GetName() << "': " << jsonString; + if (m_Endpoint && message->Contains("ts")) { double ts = message->Get("ts");