Remove uneeded if defined?(TLSError) check

It's always defined
This commit is contained in:
ojab 2021-07-10 20:38:18 +00:00
parent ff46dee7e6
commit 246094d8fc
No known key found for this signature in database
GPG Key ID: 77315EBA95155D61

View File

@ -17,7 +17,7 @@ module HTTPX
Errno::ECONNRESET, Errno::ECONNRESET,
Errno::ECONNABORTED, Errno::ECONNABORTED,
Errno::EPIPE, Errno::EPIPE,
(TLSError if defined?(TLSError)), TLSError,
TimeoutError, TimeoutError,
Parser::Error, Parser::Error,
Errno::EINVAL, Errno::EINVAL,