If you want it to do something nicer than a full stacktrace, you could do something like this in the base of your faraday setup:
begin
@app.call(env)
rescue Faraday::Error::ConnectionFailed => e
puts "Connection failed: #{e}"
# Choose what you want to happen, for example in my gem I do
exit 1
end