From c357e6babeb20c7f640e95cd38305f72e04de68a Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 8 Nov 2023 00:07:01 -0300 Subject: [PATCH] log event id on bad signature. --- relay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay.go b/relay.go index a21d786..e957229 100644 --- a/relay.go +++ b/relay.go @@ -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 } }