Skip to content
New issue

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

⚠️服务注册失败没有任何提示 #719

Open
WanT0011 opened this issue Jan 26, 2024 · 1 comment
Open

⚠️服务注册失败没有任何提示 #719

WanT0011 opened this issue Jan 26, 2024 · 1 comment

Comments

@WanT0011
Copy link

What version of nacos-sdk-go are you using?

[email protected]

What version of nacos-sever are you using?

2.x

What version of Go are you using (go version)?

go 1.20

What operating system (Linux, Windows, …) and version?

linux

What did you do?

⚠️ 我在使用sdk的时候;使用了错误的命名空间(无权限),或者使用了错误的用户(正确登陆但是没有指定的namespace的权限),去做服务注册;你们sdk返回的信息过少;甚至连日志都没有提供;无法定位异常;
具体如下:
image

该方法只返回注册是否成功的bool,和错误;但是在注册失败时的失败原因,你们没有日志打印,也没有将信息抛出去

期望:
参照你们 jvav 的 sdk 要么将信息抛出去;要么将这个信息打印出来;
速更 谢谢🙏

@binbin0325
Copy link
Member

相关pr:#626

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants