diff --git a/beam/examples/beamsh/beamsh.go b/beam/examples/beamsh/beamsh.go index 7896147..ee271ee 100644 --- a/beam/examples/beamsh/beamsh.go +++ b/beam/examples/beamsh/beamsh.go @@ -87,7 +87,7 @@ func Devnull() (*net.UnixConn, error) { if err != nil { return } - fmt.Fprintf(os.Stderr, "[devnull] discarding '%s'\n", payload) + fmt.Fprintf(os.Stderr, "[devnull] discarding '%s'\n", data.Message(string(payload)).Pretty()) if attachment != nil { attachment.Close() }