while True:
try:
stuff
except MegaNetworkErrorException:
sleep(30)
to the main to survive network absence gracefully.
The observed exception is given by the OwnCloud login under the name requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cloud.weeeopen.it', port=443): Max retries exceeded with url: /ocs/v1.php/cloud/capabilities (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7471b7f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
Add a
to the main to survive network absence gracefully.
The observed exception is given by the OwnCloud login under the name
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cloud.weeeopen.it', port=443): Max retries exceeded with url: /ocs/v1.php/cloud/capabilities (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7471b7f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))