Skip to content

[Auto Exception] Exception: PRODUCTION SAFETY: Consecutive bowling prevented for Brandon McMullen #182

Description

@Manishrdy

Automated issue created from exception logger.

  • Type: Exception
  • Message: PRODUCTION SAFETY: Consecutive bowling prevented for Brandon McMullen
  • Severity: error
  • Source: backend
  • User: <email>
  • Request ID: d4fe55b994c7
  • Timestamp (UTC): 2026-09-18 15:55:48.075086

Context

{
  "path": "/match/c6bb2d1f-eb46-4eeb-b878-c54157cad233/next-ball",
  "method": "POST",
  "endpoint": "next_ball",
  "remote_addr": "<ip>"
}

Traceback

Traceback (most recent call last):
  File "/home/ubuntu/SimCricketX/engine/match.py", line 6808, in next_ball
    self.current_bowler = self._fc_pick_bowler() if self.is_fc else self.pick_bowler()
  File "/home/ubuntu/SimCricketX/engine/match.py", line 4095, in pick_bowler
    self._absolute_consecutive_validation(selected_bowler)
  File "/home/ubuntu/SimCricketX/engine/match.py", line 3471, in _absolute_consecutive_validation
    raise Exception(f"PRODUCTION SAFETY: Consecutive bowling prevented for {selected_bowler['name']}")
Exception: PRODUCTION SAFETY: Consecutive bowling prevented for Brandon McMullen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions