log 404s and other log improvements.

This commit is contained in:
fiatjaf
2024-10-06 15:56:20 -03:00
parent a5dac15262
commit 84b81654f0
9 changed files with 14 additions and 10 deletions

View File

@@ -177,7 +177,6 @@ func getEvent(ctx context.Context, code string) (*nostr.Event, []string, error)
}
if result == nil {
log.Debug().Str("code", code).Msg("couldn't find")
return nil, nil, fmt.Errorf("couldn't find this %s, did you include relay or author hints in it?", prefix)
}