major-domo-v2/commands
Cal Corum 313c3f857b fix: ContextualLogger crashes when callers pass exc_info=True
ContextualLogger methods forwarded all **kwargs as extra={} to Python's
standard logger. When callers passed exc_info=True, it landed in the
extra dict and Python's LogRecord raised KeyError("Attempt to overwrite
'exc_info' in LogRecord") since exc_info is a reserved attribute.

This caused /submit-scorecard to crash after game data was already
posted, masking the original error and preventing proper rollback.

Fix: Extract exc_info and stack_info from kwargs before passing as extra,
forwarding them as proper logging parameters instead. Also fix direct
callers in submit_scorecard.py and views/players.py to use error=e.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 21:19:06 -06:00
..
admin Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
custom_commands Update format of /cc response 2026-02-05 20:23:49 -06:00
dev Add dev-only loaded dice command for testing /ab rolls 2026-01-07 22:45:01 -06:00
dice Add dev-only loaded dice command for testing /ab rolls 2026-01-07 22:45:01 -06:00
draft Add dem_week parameter to player team updates 2026-02-01 21:12:06 -06:00
examples Fix sWAR display precision and draft team role pings 2025-12-12 18:41:46 -06:00
gameplay CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
help CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
injuries Fix injury commands player.team None errors and add Gitea CI/CD 2026-02-05 14:16:22 -06:00
league fix: ContextualLogger crashes when callers pass exc_info=True 2026-02-19 21:19:06 -06:00
players Fix /player autocomplete timeout by using current season only 2026-02-05 20:45:09 -06:00
profile Fix profile commands package not returning expected tuple 2026-01-13 16:25:38 -06:00
soak Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
spoiler Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
teams Fix sWAR display precision and draft team role pings 2025-12-12 18:41:46 -06:00
transactions Add pending transaction validation for /dropadd command 2025-12-21 17:13:43 -06:00
utilities fix: add stadium image link to weather command 2026-02-13 20:52:10 +00:00
voice Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
__init__.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00