log event id on bad signature.

This commit is contained in:
fiatjaf 2023-11-08 00:07:01 -03:00
parent 2fa04c96cc
commit c357e6babe
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -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
}
}