Effect handler exceptions now logged at ERROR level with full context: - effect_id, source_player_id, source/target card IDs, params - Full traceback via logger.exception() Game still returns safe EffectResult.failure() to prevent crashes, but debugging information is now preserved in logs. |
||
|---|---|---|
| .. | ||
| effects | ||
| models | ||
| __init__.py | ||
| config.py | ||
| engine.py | ||
| rng.py | ||
| rules_validator.py | ||
| turn_manager.py | ||
| visibility.py | ||
| win_conditions.py | ||