log variant id on num_player mismatch
This commit is contained in:
parent
5dbf8a5631
commit
71db1e9d26
2 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ def _process_game_row(game: Dict, var_id, export_all_games: bool = False):
|
||||||
f = platformdirs.user_data_dir(constants.APP_NAME, ensure_exists=True) + '/invalid_game_ids.txt'
|
f = platformdirs.user_data_dir(constants.APP_NAME, ensure_exists=True) + '/invalid_game_ids.txt'
|
||||||
with open(f, "a+") as invalid_games_file:
|
with open(f, "a+") as invalid_games_file:
|
||||||
invalid_games_file.writelines(
|
invalid_games_file.writelines(
|
||||||
"{}, {}, {}\n".format(game_id, num_players, ", ".join(users))
|
"{}, {}, {}, {}\n".format(game_id, var_id, num_players, ", ".join(users))
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
# raise GameExportInvalidNumberOfPlayersError(game_id, num_players, users)
|
# raise GameExportInvalidNumberOfPlayersError(game_id, num_players, users)
|
||||||
|
|
Loading…
Reference in a new issue