Initialize db_game = None before try block and guard roll_back call
with `if db_game is not None:` to prevent NameError masking the
original exception when db_post("games") raises before assignment.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>