Revamped error handling
- pass on the errors from function to function
- display them to the user
This fixes the problem with the script continuously restarting when there is no internet connection at the moment 24h since the last check have passed.
This fixes the problem with the script continuously restarting when there is no internet connection at the moment 24h since the last check have passed.