Snow-kal commented on code in PR #3183:
URL: https://github.com/apache/dubbo-go/pull/3183#discussion_r2740297266
##########
protocol/dubbo/hessian2/hessian_response.go:
##########
Review Comment:
感谢建议,已按照意见修改,修改该后逻辑
```
switch ex := response.Exception.(type) {
case *GenericException:
err =
encoder.Encode(java_exception.NewDubboGenericException(ex.ExceptionClass,
ex.ExceptionMessage))
case GenericException:
err =
encoder.Encode(java_exception.NewDubboGenericException(ex.ExceptionClass,
ex.ExceptionMessage))
case java_exception.Throwabler:
err = encoder.Encode(ex)
default:
err =
encoder.Encode(java_exception.NewThrowable(response.Exception.Error()))
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]