BookOps-CAT / NightShift

Copy cataloging bot
MIT License
7 stars 1 forks source link

Add handling of request intteruptions/errors #37

Open klinga opened 1 year ago

klinga commented 1 year ago

Add handling of exceptions while making request, especially timeouts ant 500 HTTP errors.

The app should wait and restart the process on its own instead of requiring a manual restart. Add an exception counter for such situations and when it reaches its maxium, throw a final exception and abort.