Handle ConnectionError from requests package when there is internet failure. This causes dev servers to crush. Making it fail safely would be nice.
\requests\adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.meta.ai',
port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001708DAC4D50>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
Handle ConnectionError from requests package when there is internet failure. This causes dev servers to crush. Making it fail safely would be nice.