code: better debug for install state
This commit is contained in:
@@ -155,9 +155,9 @@ fn set_game_install_state_from_path(game_db: &mut GameDB, path: &Path, installed
|
||||
&& let Some(game) = game_db.get_mut_game_by_id(file_name)
|
||||
{
|
||||
if installed {
|
||||
log::debug!("Game is installed: {game}");
|
||||
log::debug!("Set {game} to installed");
|
||||
} else {
|
||||
log::error!("Game is missing: {game}");
|
||||
log::debug!("Set {game} to uninstalled");
|
||||
}
|
||||
game.installed = installed;
|
||||
}
|
||||
|
Reference in New Issue
Block a user