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

Addresses Issue #29 with 502 401 exception fixes #44

Merged
merged 8 commits into from
Apr 4, 2024

Conversation

cayossarian
Copy link

Addresses Issue #29. The previous code erroneously raised an authentication exception when a gateway 502 problem was experienced by transient network problems, e.g., firmware updates.

Tested this fix by providing bad auth token and received a proper log error about authentication and the integration stopped as expected.

Tested this fix by blocking calls to the integration on the network and received a proper log entry regarding API could not be called via any means. After the network was restored the integration worked as expected without any intervention.

@gdgib gdgib self-requested a review April 4, 2024 02:49
@gdgib gdgib self-assigned this Apr 4, 2024
@gdgib gdgib added this to the 0.0.9 milestone Apr 4, 2024
gdgib
gdgib previously approved these changes Apr 4, 2024
@cayossarian cayossarian dismissed gdgib’s stale review April 4, 2024 02:49

The merge-base changed after approval.

@gdgib gdgib merged commit 03ecab0 into gdgib:main Apr 4, 2024
2 checks passed
@cayossarian cayossarian deleted the 502_401_exception_fixes branch April 4, 2024 18:35
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