-
Notifications
You must be signed in to change notification settings - Fork 13
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
[1.0.0] Error "403 rate limit exceeded" crashes watch_gha_runs #8
Comments
I guess I could show a less cluttered output when the rate limit is hit. You can set a GITHUB_TOKEN environment variable to avoid the limit. |
With the latest fixes (commit bdc9875) it now dies without a backtrace but also without any error message: # watch_gha_runs https://github.com/textualize/textual ; echo $?
Focus change doesn't always update `text-style`style main [issues] ad4308562b5b @06-28 11:15pm
✓ success FAQ issue comment view 5405927659
OptionList with only one parameter does not return highlighted main [issues] ad4308562b5b @06-28 12:00pm
✗ failure Closed issue comment view 5399776969
add-comment ✗ failure Did we solve your problem?
1 Is that what you intended? |
Hmm... no. I'll investigate some more. I'm assuming that the request here is, "make the error output nicer," not "retry nicely when I'm rate-limited." |
Hi @nedbat thanks for re-opening! I think some short non-traceback error hinting about |
Try main now. I removed the traceback, and added more information that GitHub provides:
|
@nedbat I confirm, thank you! |
This is now released as part of watchgha 2.0.0. |
Cool! |
Hi Ned, very nice tool!
I noticed that
watch_gha_runs
does not handle rate limited errors gracefully yet but just crashes with a backtrace like this:Are there places to wrap this in clean error output?
Best, Sebastian
The text was updated successfully, but these errors were encountered: