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 fc6bab9381
commit f183a9d1a2
8 changed files with 32 additions and 49 deletions

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(