smallnest / rpcx

Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! 𝐉𝐚𝐯𝐚有𝐝𝐮𝐛𝐛𝐨, 𝐆𝐨𝐥𝐚𝐧𝐠有𝐫𝐩𝐜𝐱! build for cloud!
https://rpcx.io
Other
8.11k stars 1.17k forks source link

service 返回error 后 client Call 捕获不到error #825

Closed bububa closed 12 months ago

bububa commented 1 year ago

happend from version 1.8.12 to 1.8.15

axetroy commented 1 year ago

alson happen from version 1.8.11 to 1.8.15

I have rollback to resolve it.

smallnest commented 12 months ago

fixed. 原因是DoPostCall插件返回的err会把业务的err覆盖掉。 修改为如果业务err不为nil的话,始终返回业务的err