Skip to content

Commit

Permalink
Merge c66f687 into 865e39c
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuntaoLu committed Oct 22, 2018
2 parents 865e39c + c66f687 commit 7f3ec56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/tchannel_server.go
Expand Up @@ -396,7 +396,9 @@ func (c *tchannelInboundCall) handle(ctx context.Context, wireValue *wire.Value)
}
if err != nil {
LogErrorWarnTimeoutContext(c.ctx, c.endpoint.contextLogger, err, "Unexpected tchannel system error")
err = c.call.Response().SendSystemError(errors.New("Server Error"))
if er := c.call.Response().SendSystemError(errors.New("Server Error")); er != nil {
LogErrorWarnTimeoutContext(c.ctx, c.endpoint.contextLogger, err, "Error sending server error response")
}
return
}
if !c.success {
Expand Down

0 comments on commit 7f3ec56

Please sign in to comment.