Closed smilefisher closed 7 months ago
我想直接返回B服务返回的错误,but B服务无法解析这个错误
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I want to directly return the error returned by service B, but service B cannot parse this error.
so i have to did this
What happened:
Service A call service B, B return error, bug A can not parse the error![image](https://github.com/go-kratos/kratos/assets/19323900/325f83cb-9ce6-462b-b32a-8b7d0500e8ac)
What you expected to happen:
B parse the same error
How to reproduce it (as minimally and precisely as possible):
normal use
Anything else we need to know?:
Environment:
kratos -v
): kratos version v2.7.0go version
): go version go1.20.7 windows/amd64cat /etc/os-release
): windows/amd64