Skip to content

fix: log exceptions in pygame HUD server instead of silent swallow#367

Merged
Edwardius merged 1 commit intomainfrom
fix/pygame-exception-logging
Feb 21, 2026
Merged

fix: log exceptions in pygame HUD server instead of silent swallow#367
Edwardius merged 1 commit intomainfrom
fix/pygame-exception-logging

Conversation

@jaffarkeikei
Copy link
Copy Markdown
Contributor

Replaces bare except Exception: pass blocks with proper error logging.

Before:

except Exception:
    pass

After:

except Exception as e:
    self.get_logger().error(f"Web server error: {e}")

Makes debugging server crashes and socket issues much easier.

Fixes #319

@Edwardius Edwardius merged commit 4008a84 into main Feb 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bare exception handlers silently hide errors in pygame_hud_node.py

2 participants