Skip to content

Commit

Permalink
Update inbound.go to fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanshumehndiratta authored Oct 13, 2023
1 parent 0932418 commit 5c74b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func (response *InboundCallResponse) doneSending() {
errorType := appErrorType
if response.systemError {
errorType = systemErrorType
// if the error is a system error, set the error code in span log
// if the error is a system error, set the error code as a span tag
span.SetTag("rpc.tchannel.system_error_code", GetSystemErrorCode(response.err).MetricsKey())
}
span.SetTag("rpc.tchannel.error_type", errorType)
Expand Down

0 comments on commit 5c74b7f

Please sign in to comment.