rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
172 stars 74 forks source link

Check for error response when fetching the rate limit #1694

Closed ehuss closed 1 year ago

ehuss commented 1 year ago

The code was not checking for any errors from the rate_limit response, and blissfully continuing if there was an error which can result in some confusing behavior.