From 76968df721053de33adc3a55364903f67b74ff6a Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Mon, 7 Nov 2022 11:27:14 -0400 Subject: [PATCH] chore(waku2): add extra logging --- src/app/core/signals/remote_signals/messages.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/core/signals/remote_signals/messages.nim b/src/app/core/signals/remote_signals/messages.nim index 709b07ae93..b009849794 100644 --- a/src/app/core/signals/remote_signals/messages.nim +++ b/src/app/core/signals/remote_signals/messages.nim @@ -1,4 +1,4 @@ -import json +import json, chronicles import base @@ -55,6 +55,7 @@ proc fromEvent*(T: type MessageSignal, event: JsonNode): MessageSignal = for jsonMsg in event["event"]["messages"]: var message = jsonMsg.toMessageDto() signal.messages.add(message) + info "received", signal="messages.new", messageID=message.id if event["event"]{"chats"} != nil: for jsonChat in event["event"]["chats"]: