Skip to content

Commit

Permalink
chore(waku2): add extra logging
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos committed Nov 10, 2022
1 parent ae7a16f commit 76968df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/core/signals/remote_signals/messages.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import json, chronicles

import base

Expand Down Expand Up @@ -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"]:
Expand Down

0 comments on commit 76968df

Please sign in to comment.