babashka / neil

A CLI to add common aliases and features to deps.edn-based projects
MIT License
367 stars 27 forks source link

Handle Github rate limit reached #137

Closed russmatney closed 1 year ago

russmatney commented 1 year ago

Handles github rate-limited responses in curl-get-json. We now print a message and exit. Includes some docs calling out the env vars for raising the limit.

We may prefer to nil-pun rather than exit. For now I decided to follow the way we exit in the license code, which similarly binds *err* to *out*, prints a message, and exits with an error code.

borkdude commented 1 year ago

Thanks!