Agent: Import Island API errors in transport/__init__.py

This commit is contained in:
Shreya Malviya 2022-09-19 17:09:52 +05:30
parent 672fde0b94
commit f5279a6cb1
2 changed files with 7 additions and 1 deletions

View File

@ -1,2 +1,8 @@
from infection_monkey.transport.http import LockedHTTPServer
from .island_api_client_errors import (
IslandAPIConnectionError,
IslandAPIError,
IslandAPIRequestFailedError,
IslandAPITimeoutError,
)
from .island_api_client import IslandAPIClient

View File

@ -3,7 +3,7 @@ import logging
import requests
from common.common_consts.timeouts import MEDIUM_REQUEST_TIMEOUT
from infection_monkey.transport.island_api_client_errors import (
from infection_monkey.transport import (
IslandAPIConnectionError,
IslandAPIError,
IslandAPITimeoutError,