Skip to content

Commit

Permalink
fix: escape arbitrary bytes before writing to log
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Sep 18, 2024
1 parent 4c9cc8a commit 587c7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acme/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func testAddresses(ctx context.Context, p peer.ID, addrs []string) error {
agentVersion = vs
}
}
log.Debugf("connected to peer %s - UserAgent: %s", p, agentVersion)
log.Debugf("connected to peer %s - UserAgent: %q", p, agentVersion)
return nil
}

Expand Down

0 comments on commit 587c7fa

Please sign in to comment.