some tweaks to 17, 44 and 59.

This commit is contained in:
fiatjaf
2024-09-14 22:47:26 -03:00
parent 0656357a60
commit 46a0c95b96
3 changed files with 31 additions and 38 deletions

View File

@@ -81,7 +81,7 @@ func ListenForMessages(
func(otherpubkey, ciphertext string) (string, error) { return kr.Decrypt(ctx, ciphertext, otherpubkey) },
)
if err != nil {
nostr.InfoLogger.Printf("[nip17] failed to unwrap received message: %s\n", err)
nostr.InfoLogger.Printf("[nip17] failed to unwrap received message '%s' from %s: %s\n", ie.Event, ie.Relay.URL, err)
continue
}