mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
enhancement: improving download benchmark logging
This commit is contained in:
@@ -278,7 +278,7 @@ class AdaptableFileDownloader(FileDownloader):
|
|||||||
self._rm_bad_file(file_name, output_path, final_cwd, handler, root_password)
|
self._rm_bad_file(file_name, output_path, final_cwd, handler, root_password)
|
||||||
|
|
||||||
final_time = time.time()
|
final_time = time.time()
|
||||||
self.logger.info(f'{file_name} download took {(final_time - start_time) / 60:.2f} minutes')
|
self.logger.info(f'{file_name} download took {(final_time - start_time) / 60:.4f} minutes')
|
||||||
|
|
||||||
if not success:
|
if not success:
|
||||||
self.logger.error(f"Could not download '{file_name}'")
|
self.logger.error(f"Could not download '{file_name}'")
|
||||||
|
|||||||
Reference in New Issue
Block a user