Fixup mismatched indentations ruby warning

This commit is contained in:
ojab 2022-01-12 12:30:06 +00:00
parent f05dad7785
commit 60e04412bd
No known key found for this signature in database
GPG Key ID: 77315EBA95155D61

View File

@ -490,14 +490,14 @@ module HTTPX
def transition(nextstate)
handle_transition(nextstate)
rescue Errno::ECONNREFUSED,
Errno::EADDRNOTAVAIL,
Errno::EHOSTUNREACH,
TLSError => e
# connect errors, exit gracefully
handle_error(e)
@state = :closed
emit(:close)
rescue Errno::ECONNREFUSED,
Errno::EADDRNOTAVAIL,
Errno::EHOSTUNREACH,
TLSError => e
# connect errors, exit gracefully
handle_error(e)
@state = :closed
emit(:close)
end
def handle_transition(nextstate)