refactor(logging): Using more appropriate logging statements

Still probably needs some work, but that's enough for now
This commit is contained in:
quexeky
2025-01-19 18:30:16 +11:00
parent 053fd8605c
commit 28d4598cb3
8 changed files with 32 additions and 49 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ fn handle_invalid_database(
base.set_file_name(format!("drop.db.backup-{}", time.to_string()));
base
};
info!("{:?}", new_path);
info!("old database stored at: {}", new_path.to_string_lossy().to_string());
fs::rename(&db_path, &new_path).unwrap();
let db = Database::new(