Cannot catch requests.exceptions.ConnectionError with try except
Cannot catch requests.exceptions.ConnectionError with try except Question: It feels like I am slowly losing my sanity. I am unable to catch a connection error in a REST-API request. I read at least 20 similar questions on stackoverflow, tried every possible except statement I could think of and simplified the code as much as I could …