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 RETRY() error-handling #581

merged 1 commit into from Apr 1, 2019


Copy link

@austin3dickey austin3dickey commented Apr 1, 2019

This PR fixes a few issues where an unsuccessful request_perform() during a RETRY() will prematurely fatal with the following error message:

Error in UseMethod("http_error") : no applicable method for 'http_error' applied to an object of class "c('simpleError', 'error', 'condition')"

Now, RETRY() will successfully retry in those cases. This fix was @hadley 's suggestion.

Fixes #569
Fixes #574

@hadley hadley merged commit 0dc7559 into r-lib:master Apr 1, 2019
1 check failed
Copy link

@hadley hadley commented Apr 1, 2019


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants