Skip to content

Conversation

dasch
Copy link
Contributor

@dasch dasch commented Oct 26, 2017

No description provided.

response
end
rescue Errno::EPIPE, Errno::ECONNRESET, Errno::ETIMEDOUT, EOFError => e
rescue SystemCallError, EOFError => e
Copy link
Contributor

@mensfeld mensfeld Oct 26, 2017

Choose a reason for hiding this comment

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

won't it catch also user errors like File.open("does/not/exist")?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hopefully we won't do that in that specific method call...

@dasch dasch merged commit d08ab57 into master Oct 26, 2017
@dasch dasch deleted the dasch/simplify-socket-errors branch October 26, 2017 14:27
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