hardbyte / hardbyte/python-can

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

Aperta
#1,667 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
1.6k
Fork
697
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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"

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.