hardbyte / hardbyte/python-can

Notifier thread closed when exception occurs on bus.recv expect repoting to listener only

Open
#1,667 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1.6k
Forks
697
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug
When bus.recv raise an error notifier thread is stoped. Role of notifier is to cascade issue to the listener but not close itself

### To Reproduce
Create CAN conection and produce failure on hardware that raise an error. Notifier catch the error but close the thread

### Expected behavior
cascade exception to the listener to allow more precise control of failure

### Additional context

OS and version: windows
Python version: 3
python-can version: 4.2.2
python-can interface/s (if applicable): mine is Ixxat and error raised is "Error warning limit"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.