Skip to content

Commit

Permalink
chore: including content topics on FilterSubscribeRequest logs (#2295)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer authored Dec 15, 2023
1 parent c9d558f commit 306c8a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion waku/waku_filter_v2/rpc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ proc `$`*(err: FilterSubscribeResponse): string =
"FilterSubscribeResponse of req:" & err.requestId & " [" & $err.statusCode & "] " & $err.statusDesc

proc `$`*(req: FilterSubscribeRequest): string =
"FilterSubscribeRequest of req:" & req.requestId & " [" & $req.filterSubscribeType & "] " & $req.pubsubTopic
"FilterSubscribeRequest of req:" & req.requestId & " [" & $req.filterSubscribeType &
"] pubsubTopic:" & $req.pubsubTopic & " contentTopics:" & $req.contentTopics

proc `$`*(t: FilterSubscribeType): string =
result = case t:
Expand Down

0 comments on commit 306c8a6

Please sign in to comment.