make some logoutput more useful
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Moritz 2025-04-24 01:12:22 +02:00
parent f7f46d7b7b
commit 4cda3c1018
Signed by: moritz
GPG Key ID: 1020A035E5DD0824

View File

@ -302,7 +302,7 @@ def add_backup_paths(backup_paths, settings, app, selected_volumes):
included_volumes = list(zip(*includes))[0]
for volume, rel_paths in includes:
if not (volume_path:= volumes.get(volume)):
logger.error(f'Can not find volume with the name {volume}')
logger.error(f'Can not find volume with the name {volume} for {app}')
continue
if selected_volumes and volume not in selected_volumes:
logger.debug(f'Skipping {volume}:{rel_paths} because the volume is not selected')