Agent: Use relative import for errors in IslandAPIClient
This commit is contained in:
parent
0790952c47
commit
184e54228d
|
@ -3,11 +3,8 @@ 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 import (
|
|
||||||
IslandAPIConnectionError,
|
from . import IslandAPIConnectionError, IslandAPIError, IslandAPITimeoutError
|
||||||
IslandAPIError,
|
|
||||||
IslandAPITimeoutError,
|
|
||||||
)
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue