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

Better error handling #21

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Better error handling #21

merged 1 commit into from
Dec 14, 2023

Conversation

kroese
Copy link
Contributor

@kroese kroese commented Dec 14, 2023

Currently the code automaticly assumes that when there is an error that means the tag does not exist, but this is not always true (it could also have been a network error for example). It also does not handle the case where the tag exists, but the API does not return status 200.

This pullrequest performs much stricter checking for the status codes, so that its garantueed that the action will always return the correct value, and will fail if something unexpected happens.

Copy link
Owner

@mukunku mukunku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thanks for the changes. Not sure when I'll get to release it, though.

@mukunku mukunku merged commit ce40750 into mukunku:master Dec 14, 2023
3 checks passed
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.

2 participants