lib/ff/ruby/server/sdk/api/auth_service.rb in ff-ruby-server-sdk-1.3.2 vs lib/ff/ruby/server/sdk/api/auth_service.rb in ff-ruby-server-sdk-1.4.0
- old
+ new
@@ -87,11 +87,12 @@
# 500 internal server error
# 502 bad gateway
# 503 service unavailable
# 504 gateway timeout
# -1 OpenAPI error (timeout etc)
+ # 0 Un-categorised typhoeus error
case code
- when 408,425,429,500,502,503,504,-1
+ when 408,425,429,500,502,503,504,-1, 0
return true
else
return false
end
end
\ No newline at end of file