rename debugLog->debugLogf

This commit is contained in:
fiatjaf
2023-07-11 15:25:02 -03:00
parent c03c028142
commit 6cee628149
5 changed files with 9 additions and 8 deletions

View File

@@ -115,8 +115,9 @@ func (pool *SimplePool) SubManyEose(ctx context.Context, urls []string, filters
return
}
sub, _ := relay.Subscribe(ctx, filters)
sub, err := relay.Subscribe(ctx, filters)
if sub == nil {
debugLogf("error subscribing to %s with %v: %s", relay, filters, err)
return
}