copy/paste error in timeout exception message
parent
734c9d2711
commit
f7ac845568
|
@ -276,7 +276,7 @@ class EagleEyev3():
|
||||||
logging.info(f"{response.status_code} in get_current_user")
|
logging.info(f"{response.status_code} in get_current_user")
|
||||||
|
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
logging.warn(f"timeout expired for {self.id} get_current_user()")
|
logging.warn(f"timeout expired for get_current_user()")
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"response_http_status": 0,
|
"response_http_status": 0,
|
||||||
|
@ -324,7 +324,7 @@ class EagleEyev3():
|
||||||
logging.info(f"{response.status_code} in get_list_of_users")
|
logging.info(f"{response.status_code} in get_list_of_users")
|
||||||
|
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
logging.warn(f"timeout expired for {self.id} get_list_of_users()")
|
logging.warn(f"timeout expired for get_list_of_users()")
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"response_http_status": 0,
|
"response_http_status": 0,
|
||||||
|
@ -371,7 +371,7 @@ class EagleEyev3():
|
||||||
logging.info(f"{response.status_code} in get_list_of_cameras")
|
logging.info(f"{response.status_code} in get_list_of_cameras")
|
||||||
|
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
logging.warn(f"timeout expired for {self.id} get_list_of_cameras()")
|
logging.warn(f"timeout expired get_list_of_cameras()")
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"response_http_status": 0,
|
"response_http_status": 0,
|
||||||
|
@ -428,7 +428,7 @@ class EagleEyev3():
|
||||||
logging.info(f"{response.status_code} in get_list_of_bridges")
|
logging.info(f"{response.status_code} in get_list_of_bridges")
|
||||||
|
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
logging.warn(f"timeout expired for {self.id} get_list_of_bridges()")
|
logging.warn(f"timeout expired for get_list_of_bridges()")
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"response_http_status": 0,
|
"response_http_status": 0,
|
||||||
|
@ -475,7 +475,7 @@ class EagleEyev3():
|
||||||
logging.info(f"{response.status_code} in get_list_of_switches")
|
logging.info(f"{response.status_code} in get_list_of_switches")
|
||||||
|
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
logging.warn(f"timeout expired for {self.id} get_list_of_switches()")
|
logging.warn(f"timeout expired for get_list_of_switches()")
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"response_http_status": 0,
|
"response_http_status": 0,
|
||||||
|
@ -522,7 +522,7 @@ class EagleEyev3():
|
||||||
logging.info(f"{response.status_code} in get_list_of_available_devices")
|
logging.info(f"{response.status_code} in get_list_of_available_devices")
|
||||||
|
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
logging.warn(f"timeout expired for {self.id} get_list_of_available_devices()")
|
logging.warn(f"timeout expired for get_list_of_available_devices()")
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"response_http_status": 0,
|
"response_http_status": 0,
|
||||||
|
@ -568,7 +568,7 @@ class EagleEyev3():
|
||||||
logging.info(f"{response.status_code} in get_list_of_multi_cameras")
|
logging.info(f"{response.status_code} in get_list_of_multi_cameras")
|
||||||
|
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
logging.warn(f"timeout expired for {self.id} get_list_of_multi_cameras()")
|
logging.warn(f"timeout expired for get_list_of_multi_cameras()")
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"response_http_status": 0,
|
"response_http_status": 0,
|
||||||
|
@ -614,7 +614,7 @@ class EagleEyev3():
|
||||||
logging.info(f"{response.status_code} in get_list_of_feeds")
|
logging.info(f"{response.status_code} in get_list_of_feeds")
|
||||||
|
|
||||||
except requests.exceptions.Timeout:
|
except requests.exceptions.Timeout:
|
||||||
logging.warn(f"timeout expired for {self.id} get_list_of_feeds()")
|
logging.warn(f"timeout expired for get_list_of_feeds()")
|
||||||
return {
|
return {
|
||||||
"success": False,
|
"success": False,
|
||||||
"response_http_status": 0,
|
"response_http_status": 0,
|
||||||
|
|
Loading…
Reference in New Issue