Skip to content

Conversation

JakubAndrysek
Copy link
Contributor

This pull request updates the Transport class in src/wokwi_client/transport.py to improve error handling in the background receive task. The main change is the addition of a throw_error parameter to control whether exceptions in the background receive loop should propagate and trigger cleanup. This gives callers more control over error propagation and resource management.

Previously, the error occurred in the background, printing the message and leaving the client in a broken state.

@urish urish merged commit 7eceb28 into wokwi:main Aug 26, 2025
5 checks passed
@JakubAndrysek JakubAndrysek deleted the fix-throw-bg-error branch August 26, 2025 11:38
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.

2 participants