From f22d4b7692f460a936579de8fe3846733b17ac8d Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Tue, 17 Dec 2024 11:06:36 -0300 Subject: [PATCH] make it clear that a message was _received_ from a given relay on log output. --- relay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay.go b/relay.go index cff2341..2ef239f 100644 --- a/relay.go +++ b/relay.go @@ -217,7 +217,7 @@ func (r *Relay) ConnectWithTLS(ctx context.Context, tlsConfig *tls.Config) error } message := buf.Bytes() - debugLogf("{%s} %v\n", r.URL, message) + debugLogf("{%s} received %v\n", r.URL, message) envelope := ParseMessage(message) if envelope == nil { if r.customHandler != nil {