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
On page error #29
On page error #29
Conversation
@@ -190,28 +191,33 @@ def takeover | |||
else | |||
page = pages.last | |||
end | |||
|
|||
if page.nil? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When can it be nil?
http.fetch_pages always returns an Array
Or am I overlooking something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right 👍
👍 |
Not sure if at this point we should skip the call to ❓ |
Well.... There is no header and no body... But on the other hand, you might have code you want to run always. So I think you are right. I would just wish for an example which shows the possibilities of error handling with polipus. As a side note: |
I agree we should not change the current workflow. re |
No description provided.