-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Failsafe on API errors #248
Comments
Hi, |
Oh ok, easy fix indeed. Thought for another user + public repo meant I could omit the token 👍 - user: Zelda-Reverse-Engineering-Team
token_file: /config/token # fine grained token for vic1707
I'm not a go developer but, maybe you can add a middleware or wrapper to every kind of API calls and check for the result ?
|
Sorry, I forgot to answer the org question. Users and Organizations are treated in a similar way, so you can just use the organization as user and it should work. For your case with the I need to investigate why it prompts the error message a gazillion times when something doesn't exist. Smells like a bug. |
display name != username 🤦, crap, I feel stupid now x) thank you that was it |
Hi,
TL/DR: Might be great if gickup throws an error (and/or a push notif) when encountering an API 4XX error.
I was experimenting with Gickup and trying to find a way to backup whole organisations without being a member of it, or how to backup specific repositories.
For orgs I still can't figure it out.
For specific repos using the
any
source and simply putting the github url does the trick but I wanted to try other ways.But upon testing
I got lots of errors from github-api (due ton invalid config so kinda expected) and gickup started spamming their API at astonishing speed reaching rate limits
I think it would be nice to have a way for gickup to not freak out when things like these happen and eventually to share that news via push notif or something.
on a side note, if you can hint me on how (if possible) I can backup specific orgs even when I'm not a member as I don't want to star everything manually. And if you can tell me what I messed up with the
hsutter
configThe text was updated successfully, but these errors were encountered: