freshcelery/radarr_letterboxd_import

Add error handling for failed requests

Opened this issue · 1 comments

radarr_page_request = requests.get(radarr_get_url)

Occasionally the script will fail with "Max retries exceed with url" error. There should be error handling added at all requests in the code.

except requests.exceptions.ConnectionError:
requests.status_code = "Connection refused"

This may be related to an issue with Radarr and not this project, will have to investigate if it happens again.