mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-08-08 12:11:42 +02:00
print all filters when doesn't match.
This commit is contained in:
2
relay.go
2
relay.go
@@ -193,7 +193,7 @@ func (r *Relay) Connect(ctx context.Context) error {
|
||||
func() {
|
||||
// check if the event matches the desired filter, ignore otherwise
|
||||
if !subscription.Filters.Match(&env.Event) {
|
||||
InfoLogger.Printf("{%s} filter does not match: %v ~ %v\n", r.URL, subscription.Filters[0], env.Event)
|
||||
InfoLogger.Printf("{%s} filter does not match: %v ~ %v\n", r.URL, subscription.Filters, env.Event)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user