mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-10 00:01:27 -04:00
Fixup mismatched indentations
ruby warning
This commit is contained in:
parent
f05dad7785
commit
60e04412bd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user