diff --git a/outpostcli/lfs/storage_class/utils.py b/outpostcli/lfs/storage_class/utils.py index 99fcc4f..69358da 100644 --- a/outpostcli/lfs/storage_class/utils.py +++ b/outpostcli/lfs/storage_class/utils.py @@ -4,11 +4,14 @@ ) import requests +from outpostkit.repository.lfs.logger import create_lfs_logger from tenacity import retry, stop_after_attempt, wait_exponential from outpostcli.lfs.exc import handle_request_errors from outpostcli.lfs.types import UploadedPartObject +_log = create_lfs_logger(__name__) + def try_extracting_part_number(s: str): match = re.match(r"part_(\d+)", s) @@ -61,4 +64,5 @@ def initiate_multipart_upload(url: str) -> str: def abort_multipart_upload(url: str): r = requests.delete(url) r.raise_for_status() + _log.info(f"aborted multipart upload: {url}") return r