Skip to content

Commit

Permalink
make it clear that a message was _received_ from a given relay on log…
Browse files Browse the repository at this point in the history
… output.
  • Loading branch information
fiatjaf committed Dec 17, 2024
1 parent 82b8602 commit f22d4b7
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 @@ -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 {
Expand Down

0 comments on commit f22d4b7

Please sign in to comment.