THRIFT-3730: go server errors are logged twice
Client: go
Patch: zhujun2006 <stone1342006 at gmail dot com>
This closes #940
diff --git a/lib/go/thrift/simple_server.go b/lib/go/thrift/simple_server.go
index 5d05c5b..e207bd9 100644
--- a/lib/go/thrift/simple_server.go
+++ b/lib/go/thrift/simple_server.go
@@ -186,7 +186,6 @@
if err, ok := err.(TTransportException); ok && err.TypeId() == END_OF_FILE {
return nil
} else if err != nil {
- log.Printf("error processing request: %s", err)
return err
}
if err, ok := err.(TApplicationException); ok && err.TypeId() == UNKNOWN_METHOD {