update khatru.

This commit is contained in:
fiatjaf
2023-12-07 08:20:12 -03:00
parent 35ce972ea6
commit c20653594f
3 changed files with 4 additions and 3 deletions

View File

@@ -177,6 +177,7 @@ func getEvent(ctx context.Context, code string, relayHints []string) (*nostr.Eve
}
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)
}