From dafe0c3f4877c25157b5df4ca69eb23df248ab7a Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sun, 8 Jul 2018 20:38:01 -0700 Subject: better error buffer --- cmd/rr/debug/debugger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/rr/debug/debugger.go b/cmd/rr/debug/debugger.go index 0dca43de..533a5947 100644 --- a/cmd/rr/debug/debugger.go +++ b/cmd/rr/debug/debugger.go @@ -58,7 +58,7 @@ func (s *debugger) listener(event int, ctx interface{}) { // outputs switch event { case roadrunner.EventStderrOutput: - s.logger.Warning(strings.Trim(string(ctx.([]byte)), "\r\n")) + s.logger.Warning(utils.Sprintf("%s", strings.Trim(string(ctx.([]byte)), "\r\n"))) } // rr server events -- cgit v1.2.3