From c968295acdae6a4a78ff485a543a04ef9ac04c3e Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 27 Jul 2015 16:03:58 +1000 Subject: [PATCH] Don't spam the error logger so much. --- connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connection.go b/connection.go index bd15d7a..8304032 100644 --- a/connection.go +++ b/connection.go @@ -473,7 +473,7 @@ func (c *Connection) Reply(ctx context.Context, opErr error) { // Error logging if opErr != nil && c.errorLogger != nil { - c.errorLogger.Printf("(%#v) error: %v", op, opErr) + c.errorLogger.Printf("%T error: %v", op, opErr) } // Send the reply to the kernel.