From 4e0f987f7f3eeddad2e2a2ef4d025c357667b6f3 Mon Sep 17 00:00:00 2001 From: Chuntao Lu Date: Thu, 18 May 2017 16:19:30 -0700 Subject: [PATCH] Log unexpected tchannel system error --- runtime/tchannel_server.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/tchannel_server.go b/runtime/tchannel_server.go index b16860d19..48defba7f 100644 --- a/runtime/tchannel_server.go +++ b/runtime/tchannel_server.go @@ -177,6 +177,9 @@ func (s *TChannelRouter) handle(ctx context.Context, handler handler, service st if er := reader.Close(); er != nil { return errors.Wrapf(er, "could not close arg3reader for inbound call: %s::%s", service, method) } + s.logger.Warn("Unexpected tchannel system error", + zap.String("error", err.Error()), + ) return call.Response().SendSystemError(err) }