Added debug message that logs borg version for every config #792
@ -75,6 +75,7 @@ def run_configuration(config_filename, config, arguments):
|
||||
|
||||
try:
|
||||
local_borg_version = borg_version.local_borg_version(config, local_path)
|
||||
logger.debug(f'{config_filename}: Borg {local_borg_version}')
|
||||
except (OSError, CalledProcessError, ValueError) as error:
|
||||
yield from log_error_records(f'{config_filename}: Error getting local Borg version', error)
|
||||
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user
This should probably just be a
logger.debug()
orlogger.info()
call since it's not an error...? Unfortunately though such a change would obsolete some of your laborious test work. But the good news is it might actually make your test changes easier to mock.Let me know your thoughts.
Yes that does indeed make a lot of sense and explains why the unit tests were such a pain.
Fixed now