refactor: update logger, fix warning message

This commit is contained in:
Jonas Kaninda
2024-10-23 11:59:48 +02:00
parent 4b41baed5a
commit 23edaff2c4
3 changed files with 6 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ func restoreFromRemote(db *dbConfig, conf *RestoreConfig) {
}
err = sshStorage.CopyFrom(conf.file)
if err != nil {
utils.Fatal("Error copying backup file: %w", err)
utils.Fatal("Error copying backup file: %s", err)
}
RestoreDatabase(db, conf)
}