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

Fix command error handling after last retry #103

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

pnbruckner
Copy link
Collaborator

If last retry resulted in an error the command method did not raise an exception, but rather logged, e.g., "Trying again due error 401" followed by "Query worked. Exit code: 401". Now if all attempts, including all retries, result in errors, an exception will be raised. Also changed log messages for request errors to warnings, except for on last retry, which is logged as an error.

If last retry resulted in an error the command method did not raise an exception, but rather logged, e.g., "Trying again due error 401" followed by "Query worked. Exit code: 401". Now if all attempts, including all retries, result in errors, an exception will be raised. Also changed log messages for request errors to warnings, except for on last retry, which is logged as an error.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 32.927% when pulling 488088d on pnbruckner:fix-command into 166b833 on tchellomello:master.

Copy link
Owner

@tchellomello tchellomello left a comment

Choose a reason for hiding this comment

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

Thanks for your collaboration! 👍

@tchellomello tchellomello merged commit e30817a into tchellomello:master Mar 2, 2019
@pnbruckner pnbruckner deleted the fix-command branch March 2, 2019 13:40
@tchellomello tchellomello mentioned this pull request Mar 4, 2019
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.

3 participants