This commit is contained in:
Noah Hilverling 2020-11-12 12:39:49 +01:00
parent 60b665c1fc
commit 30cea59a42

View File

@ -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");