hardbyte / hardbyte/python-can

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

Ouverte
#1,667 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
1.6k
Forks
697
Métriques de merge des PR
Aucune PR mergée en 30 j

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"

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.