lib/moneta/api/service_methods.rb in moneta-api-1.3.0 vs lib/moneta/api/service_methods.rb in moneta-api-1.4.0
- old
+ new
@@ -185,9 +185,11 @@
})
ResponseFactory.build(response)
rescue Savon::SOAPFault => e
raise Moneta::Api::RuntimeException.new(e.message)
+ rescue Savon::HTTPError => e
+ raise Moneta::Api::HTTPException.new(e.message)
end
def validate!(method, request)
expected_request_class = get_expected_request_class(method)