Skip to content

Commit

Permalink
log event id on bad signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Nov 8, 2023
1 parent 2fa04c9 commit c357e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (r *Relay) Connect(ctx context.Context) error {
if err != nil {
errmsg = err.Error()
}
InfoLogger.Printf("{%s} bad signature: %s\n", r.URL, errmsg)
InfoLogger.Printf("{%s} bad signature on %s; %s\n", r.URL, env.Event.ID, errmsg)
continue
}
}
Expand Down

0 comments on commit c357e6b

Please sign in to comment.