Skip to content

Commit

Permalink
Log unexpected tchannel system error
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuntao Lu committed May 18, 2017
1 parent dff0b03 commit 4e0f987
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/tchannel_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 4e0f987

Please sign in to comment.