Agent: Use relative import for errors in IslandAPIClient

This commit is contained in:
Mike Salvatore 2022-09-19 07:56:34 -04:00
parent 0790952c47
commit 184e54228d
1 changed files with 2 additions and 5 deletions

View File

@ -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__)