Skip to content

Commit 8d8c3cf

Browse files
committed
updated format string at _http file logger
1 parent f5b18af commit 8d8c3cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pytfe/_http.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def request(
102102
)
103103
except httpx.HTTPError as e:
104104
transport_logger.debug(
105-
"transport exception on %s %s (attempt %d): %s",
105+
"transport exception on %s (attempt %d): %s",
106106
method,
107107
attempt,
108108
e,
@@ -122,7 +122,7 @@ def request(
122122
if resp.status_code in _RETRY_STATUSES and attempt < self.max_retries:
123123
retry_after = _parse_retry_after(resp)
124124
transport_logger.info(
125-
"retrying %s %s after %s (status=%d, attempt=%d)",
125+
"retrying %s after %s (status=%d, attempt=%d)",
126126
method,
127127
f"{retry_after:.2f}s" if retry_after else "backoff",
128128
resp.status_code,

0 commit comments

Comments
 (0)