Skip to content
This repository was archived by the owner on Sep 4, 2026. It is now read-only.

19: Error in generation properly caught and gracefully exits - #85

Merged
semere-meb merged 1 commit into
mainfrom
19-maze-04-maze-generator-failure-handling
Aug 20, 2026
Merged

semere-meb merged 1 commit into
mainfrom
19-maze-04-maze-generator-failure-handling

Conversation

@semere-meb

Copy link
Copy Markdown
Member

Summary

Properly handles generation issues.

Fixes #

Changes

  • Wraps (indirect) generation calls with try/except block to catch, print and exit properly.

Testing

  • make lint passes locally
  • make test passes locally (check N/A below if no tests exist yet for this area)
  • Manually tested the behavior described above
  • N/A — no automated tests apply to this change yet

Checklist

  • PR title follows <TICKET-ID>: short description
  • Linked to the correct issue (Fixes #... above)
  • No unrelated changes bundled into this diff
  • Updated docs/design/ if this changes config shape, architecture, or a game-design decision
  • Updated README if this changes user-facing behavior (config keys, controls, etc.)

@semere-meb
semere-meb requested a review from rustyzzz August 20, 2026 20:42
@semere-meb semere-meb self-assigned this Aug 20, 2026
@semere-meb semere-meb linked an issue Aug 20, 2026 that may be closed by this pull request
@semere-meb
semere-meb merged commit 851771b into main Aug 20, 2026
2 checks passed
@semere-meb
semere-meb deleted the 19-maze-04-maze-generator-failure-handling branch August 20, 2026 20:42
@semere-meb
semere-meb restored the 19-maze-04-maze-generator-failure-handling branch August 20, 2026 20:44
@semere-meb
semere-meb deleted the 19-maze-04-maze-generator-failure-handling branch August 20, 2026 20:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MAZE-04: Maze generator failure handling

1 participant