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

add some tips for BadCredentialsException #2955

Open
Lslightly opened this issue Apr 22, 2024 · 0 comments
Open

add some tips for BadCredentialsException #2955

Lslightly opened this issue Apr 22, 2024 · 0 comments

Comments

@Lslightly
Copy link

Lslightly commented Apr 22, 2024

Since #1753 has so many comments about BadCredentialsException, is it possible to add some tips when raising the exception? For example, add a link to the issue or suggest some checks like #1753 (comment).

I think this saves users' time since searching for Bad Credentials is time-consuming and reading such long issue without an conclusion is tiring and depressing.

I guess there are many downstream apps that uses cache or other persistent system like database because getting issues/comments or other information from github is time-consuming. So I think it is important to add some tips or notes when raising BadCredentialsException

Besides, it is better to add a function check to check the validity of objects and a function refresh for re-validate a object since most fields of a Issue-like object is valid except the token field.

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