Sha256: 96620c167036ffb318be6bfdfdc6249b7ed8a1e4b99cca962e545bcbad0a7c3a
Contents?: true
Size: 247 Bytes
Versions: 35
Compression:
Stored size: 247 Bytes
Contents
require 'faraday' module TestTrack class ServerErrorMiddleware < Faraday::Response::Middleware def call(request_env) @app.call request_env rescue *SERVER_ERRORS => e raise UnrecoverableConnectivityError, e end end end
Version data entries
35 entries across 35 versions & 1 rubygems