mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-09 03:07:40 +02:00
Fix up the logging messages.
This commit is contained in:
@@ -32,11 +32,12 @@ class PDBRetreiver:
|
||||
result = None
|
||||
for suffix in [file_name[:-1] + '_', file_name]:
|
||||
try:
|
||||
logger.debug("Retreiving file: {}".format(url + suffix))
|
||||
logger.debug("Attempting to retrieve {}".format(url + suffix))
|
||||
result, _ = request.urlretrieve(url + suffix)
|
||||
except request.HTTPError as excp:
|
||||
logger.debug("HTTP Error encountered: {}".format(excp))
|
||||
logger.debug("Failed with {}".format(excp))
|
||||
if result:
|
||||
logger.debug("Successfully written to {}".format(result))
|
||||
break
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user