Fix typo
This commit is contained in:
parent
fd642203d7
commit
9bbd306ae5
1 changed files with 3 additions and 1 deletions
|
|
@ -1,10 +1,12 @@
|
|||
import json
|
||||
import logging
|
||||
import subprocess
|
||||
|
||||
from concurrent.futures import ThreadPoolExecutor, as_completed
|
||||
|
||||
import requests
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
@ -70,7 +72,7 @@ def _update_domains(updated_domains, api_url, token, read_only):
|
|||
|
||||
try:
|
||||
response.raise_for_status()
|
||||
except request.HTTPError as e:
|
||||
except requests.HTTPError:
|
||||
logger.exception(f"Unable to update domain {domain}")
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue