freshcelery / radarr_letterboxd_import

Automate adding movies to Radarr from Letterboxd Watchlists
MIT License
6 stars 0 forks source link

Add error handling for failed requests #3

Open freshcelery opened 6 years ago

freshcelery commented 6 years ago

https://github.com/freshcelery/radarr_letterboxd_import/blob/d0d5689f672822011e91dc0b021ad9bff3adbeb0/radarr.py#L32

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"

freshcelery commented 6 years ago

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