Fix exception message on file not found for backups

This commit is contained in:
amcmanu3 2024-08-06 18:36:21 -04:00
parent fc6f85a16b
commit 849242ecea

View File

@ -207,7 +207,7 @@ def migrate(migrator: Migrator, database, **kwargs):
) )
except FileNotFoundError as why: except FileNotFoundError as why:
logger.error( logger.error(
f"Could not move backup {file} for {server.server_name} to new location with error {why}" f"Could not move backups for {server.server_name} to new location with error {why}"
) )
Console.debug("Migrations: Dropping old backup table") Console.debug("Migrations: Dropping old backup table")