Timeout (10s) on store API calls + better exception handling
We now log connection errors, timeouts, and other Requests errors, and return None so that the login flow of the user can continue.
This commit is contained in:
@@ -148,6 +148,7 @@ URLER_SERVICE_AUTH_TOKEN = None
|
||||
BLENDER_CLOUD_ADDON_VERSION = '1.4'
|
||||
|
||||
EXTERNAL_SUBSCRIPTIONS_MANAGEMENT_SERVER = 'https://store.blender.org/api/'
|
||||
EXTERNAL_SUBSCRIPTIONS_TIMEOUT_SECS = 10
|
||||
|
||||
# Certificate file for communication with other systems.
|
||||
TLS_CERT_FILE = requests.certs.where()
|
||||
|
Reference in New Issue
Block a user