fix basic logs.

This commit is contained in:
fiatjaf
2022-02-11 20:10:25 -03:00
parent ea7d2eeb3e
commit a7710ef4f3
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ func (b *BasicRelay) SaveEvent(evt *nostr.Event) error {
return nil
}
return fmt.Errorf("failed to save event from %s", evt.PubKey)
return fmt.Errorf("failed to save event %s: %w", evt.ID, err)
}
return nil