bunker: improve error message.

This commit is contained in:
fiatjaf 2023-12-09 17:11:55 -03:00
parent 0860cfcf6d
commit e5b0b15908
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -87,7 +87,7 @@ var bunker = &cli.Command{
for ie := range events { for ie := range events {
req, resp, eventResponse, harmless, err := signer.HandleRequest(ie.Event) req, resp, eventResponse, harmless, err := signer.HandleRequest(ie.Event)
if err != nil { if err != nil {
log("< failed to handle request from %s: %w", ie.Event.PubKey, err) log("< failed to handle request from %s: %s", ie.Event.PubKey, err.Error())
continue continue
} }