Skip to content

Commit 7df8e46

Browse files
trishankatdatadogawwad
authored andcommitted
add debug statements
1 parent f0732c3 commit 7df8e46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tuf/download.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ def _download_file(url, required_length, STRICT_REQUIRED_LENGTH=True):
236236
if not hostname:
237237
raise securesystemslib.exceptions\
238238
.FormatError('Could not get hostname from: ' + url)
239+
else:
240+
logger.debug('url: ' + url)
241+
logger.debug('hostname: ' + hostname)
239242

240243
session = _sessions.get(hostname)
241244

0 commit comments

Comments
 (0)