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

CallApi 当 AK 为空时会导致空指针异常 #77

Open
dbbDylan opened this issue Feb 22, 2025 · 0 comments
Open

CallApi 当 AK 为空时会导致空指针异常 #77

dbbDylan opened this issue Feb 22, 2025 · 0 comments

Comments

@dbbDylan
Copy link

resp, err := client.CallApi(params, request, runtime)

error:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x102bc01f8]

猜测可能是鉴权过程中的某一步出现了 nil,希望能在鉴权时捕获非法的 AK,方便排查错误

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

1 participant