Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions emulator/brainflow_emulator/biolistener_emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,10 @@ def run(self):
else:
logging.warning(f"Unknown command: {json_str['command']}")
except TimeoutError:
# Expected when no command arrives before socket timeout; continue polling.
pass
except socket.timeout:
# Expected polling timeout; ignore and keep loop alive.
pass
except Exception as err:
logging.error(f"Error in recv thread: {err}")
Expand Down
Loading