ButterflyBug / Tesco_delivery_checker

https://butterflybug.github.io/Tesco_delivery_checker/
MIT License
4 stars 0 forks source link

Handle unexpected exceptions #6

Open ButterflyBug opened 4 years ago

ButterflyBug commented 4 years ago

Description The program run_checker.py is run on a server. Unfortunately in case of any kind of exception, it performs a restart procedure up to only 10 times according to the configuration of deployment.

Actual behavior The script run_checker.py fails and exits with code 1 in case of exception.

Expected behavior The program should catch any unexpected exception and ignore it at the end.