brendan-w / python-OBD

OBD-II serial module for reading engine data
GNU General Public License v2.0
1.02k stars 360 forks source link

catching the Exception to connect #195

Open Leweyy opened 4 years ago

Leweyy commented 4 years ago

are there any exceptions i can use to catch a failed connection, something like this

except serial.SerialException as e: logger.error(e)