lib/auth0/mixins/httpproxy.rb in auth0-4.8.0 vs lib/auth0/mixins/httpproxy.rb in auth0-4.9.0
- old
+ new
@@ -66,10 +66,10 @@
payload: body
)
rescue RestClient::Exception => e
case e
when RestClient::RequestTimeout
- raise Auth0::RequestTimeout
+ raise Auth0::RequestTimeout.new(e.message)
else
return e.response
end
end
end