log relay url too when filter doesn't match.

This commit is contained in:
fiatjaf 2023-04-06 12:57:15 -03:00
parent abfb7de394
commit 4c9db5928a
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

@ -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
}