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

Bug fixes #27

Merged
merged 3 commits into from
Nov 15, 2023
Merged

Bug fixes #27

merged 3 commits into from
Nov 15, 2023

Conversation

tempusfrangit
Copy link
Contributor

Correct usage being printed on every/any error

Handle 404s explicitly, do no retry.

Use Status constants

… errors

Use `Run` not `RunE` and wrap error handling for os.exit(1). This will
ensure we do not randomly print the usage information.
Do not retry on 404.
Do not use bare int 400, use the constants from http for status codes.
@tempusfrangit tempusfrangit self-assigned this Nov 15, 2023
@tempusfrangit tempusfrangit merged commit c40b7ab into main Nov 15, 2023
2 checks passed
@tempusfrangit tempusfrangit deleted the bug-fixes branch November 15, 2023 20:26
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

Successfully merging this pull request may close these issues.

1 participant