Merge branch 'bugfix/fileNotFound-exceptoin' into 'dev'

Fix exception message on file not found for backups

See merge request crafty-controller/crafty-4!789
This commit is contained in:
Iain Powrie 2024-08-06 23:08:20 +00:00
commit 1f832ae85e
2 changed files with 2 additions and 8 deletions

View File

@ -1,13 +1,7 @@
# Changelog
## --- [4.4.2] - 2024/TBD
### New features
TBD
### Bug fixes
TBD
### Tweaks
TBD
### Lang
TBD
- Migrations | Fix exception message on file not found for backups migration ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/789))
<br><br>
## --- [4.4.1] - 2024/08/06

View File

@ -207,7 +207,7 @@ def migrate(migrator: Migrator, database, **kwargs):
)
except FileNotFoundError as why:
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")