We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
例: router.get('/user', async ctx => { const {res, err} = await dubbo.service.demoProvider.getUserInfo(); ctx.body = res || err.message; }); node端调用rpc服务,service端抛出异常err信息带打印信息不是标准的json对象,不知道问题出在哪里?求指教!!
router.get('/user', async ctx => { const {res, err} = await dubbo.service.demoProvider.getUserInfo(); ctx.body = res || err.message; });
The text was updated successfully, but these errors were encountered:
@lileilei hi阿磊, 不是标准的json对象是什么意思?给我一个小栗子看看,err现在是标准的err对象。
Sorry, something went wrong.
java:
bff端:
err 带打印信息,不是标准json对象
这不是dubbo2.js的处理,而是https://github.com/node-modules/hessian.js/blob/master/lib/object.js#L77 在hessian反序列化的时候序列化成一个err对象。
No branches or pull requests
例:
router.get('/user', async ctx => { const {res, err} = await dubbo.service.demoProvider.getUserInfo(); ctx.body = res || err.message; });
node端调用rpc服务,service端抛出异常err信息带打印信息不是标准的json对象,不知道问题出在哪里?求指教!!
The text was updated successfully, but these errors were encountered: