Release 1774
When the api is unreachable the app raises Rack Timeout exceptions which lead to 500 responses.
Trello card
Context
We want to prevent the 500 responses when the dfe api is unreachable
Changes proposed in this pull request
Taking two extra measures to handle the timeouts:
- Add the Rack::Timeout::RequestTimeoutException to faraday's retry
exceptions to give it a second chance to succeed - Rescue the Rack Timeouts and return false to prevent the 500s