copy/paste error in timeout exception message

get_list_of_videos
Mark Cotton 2023-07-25 17:42:01 -06:00
parent 734c9d2711
commit f7ac845568
1 changed files with 8 additions and 8 deletions

View File

@ -276,7 +276,7 @@ class EagleEyev3():
logging.info(f"{response.status_code} in get_current_user")
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 {
"success": False,
"response_http_status": 0,
@ -324,7 +324,7 @@ class EagleEyev3():
logging.info(f"{response.status_code} in get_list_of_users")
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 {
"success": False,
"response_http_status": 0,
@ -371,7 +371,7 @@ class EagleEyev3():
logging.info(f"{response.status_code} in get_list_of_cameras")
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 {
"success": False,
"response_http_status": 0,
@ -428,7 +428,7 @@ class EagleEyev3():
logging.info(f"{response.status_code} in get_list_of_bridges")
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 {
"success": False,
"response_http_status": 0,
@ -475,7 +475,7 @@ class EagleEyev3():
logging.info(f"{response.status_code} in get_list_of_switches")
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 {
"success": False,
"response_http_status": 0,
@ -522,7 +522,7 @@ class EagleEyev3():
logging.info(f"{response.status_code} in get_list_of_available_devices")
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 {
"success": False,
"response_http_status": 0,
@ -568,7 +568,7 @@ class EagleEyev3():
logging.info(f"{response.status_code} in get_list_of_multi_cameras")
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 {
"success": False,
"response_http_status": 0,
@ -614,7 +614,7 @@ class EagleEyev3():
logging.info(f"{response.status_code} in get_list_of_feeds")
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 {
"success": False,
"response_http_status": 0,