mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-04-05 02:20:13 +02:00
log relay url too when filter doesn't match.
This commit is contained in:
parent
abfb7de394
commit
4c9db5928a
2
relay.go
2
relay.go
@ -198,7 +198,7 @@ func (r *Relay) Connect(ctx context.Context) error {
|
||||
|
||||
// check if the event matches the desired filter, ignore otherwise
|
||||
if !subscription.Filters.Match(&event) {
|
||||
log.Printf("filter does not match: %v ~ %v\n", subscription.Filters[0], event)
|
||||
log.Printf("filter does not match (%s): %v ~ %v\n", r.URL, subscription.Filters[0], event)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user