Closed steveoh closed 1 year ago
I believe that those exceptions would be caught in these places. But I'm open to other ideas. What do you think? https://github.com/agrc/masquerade/blob/0421f21dcb564ba9d6d006f61628af7016247560/src/masquerade/main.py#L202-L213 https://github.com/agrc/masquerade/blob/0421f21dcb564ba9d6d006f61628af7016247560/src/masquerade/main.py#L269-L276
https://github.com/agrc/masquerade/blob/0421f21dcb564ba9d6d006f61628af7016247560/src/masquerade/providers/web_api.py#L106
There is no try except for https://requests.readthedocs.io/en/latest/api/#requests.Timeout exceptions.
This will happen after your timeout expires unless you are catching it somewhere else that I don't see?
Something like the following would be more fault tolerant