This commit is contained in:
thot-experiment 2025-05-07 18:54:39 -07:00
parent ffc6b610b6
commit 33da9e40c7
2 changed files with 30 additions and 31 deletions

View File

@ -95,7 +95,7 @@ import logging
import time
import io
import socket
from typing import Dict, Type, Optional, Any, TypeVar, Generic, Callable, Tuple, List, Union
from typing import Dict, Type, Optional, Any, TypeVar, Generic, Callable, Tuple
from enum import Enum
import json
import requests
@ -431,8 +431,8 @@ class ApiClient:
if connectivity["is_local_issue"]:
raise LocalNetworkError(
f"Unable to connect to the API server due to local network issues. "
f"Please check your internet connection and try again."
"Unable to connect to the API server due to local network issues. "
"Please check your internet connection and try again."
) from e
elif connectivity["is_api_issue"]:
raise ApiServerError(

View File

@ -123,4 +123,3 @@ if __name__ == '__main__':
response_status_code=200,
response_content=b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR...' # Sample binary data
)
print(f"Test logs should be in: {get_log_directory()}")