forked from p15670423/monkey
Agent: Import Island API errors in transport/__init__.py
This commit is contained in:
parent
672fde0b94
commit
f5279a6cb1
|
@ -1,2 +1,8 @@
|
||||||
from infection_monkey.transport.http import LockedHTTPServer
|
from infection_monkey.transport.http import LockedHTTPServer
|
||||||
|
from .island_api_client_errors import (
|
||||||
|
IslandAPIConnectionError,
|
||||||
|
IslandAPIError,
|
||||||
|
IslandAPIRequestFailedError,
|
||||||
|
IslandAPITimeoutError,
|
||||||
|
)
|
||||||
from .island_api_client import IslandAPIClient
|
from .island_api_client import IslandAPIClient
|
||||||
|
|
|
@ -3,7 +3,7 @@ import logging
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
from common.common_consts.timeouts import MEDIUM_REQUEST_TIMEOUT
|
from common.common_consts.timeouts import MEDIUM_REQUEST_TIMEOUT
|
||||||
from infection_monkey.transport.island_api_client_errors import (
|
from infection_monkey.transport import (
|
||||||
IslandAPIConnectionError,
|
IslandAPIConnectionError,
|
||||||
IslandAPIError,
|
IslandAPIError,
|
||||||
IslandAPITimeoutError,
|
IslandAPITimeoutError,
|
||||||
|
|
Loading…
Reference in New Issue