added log messages for serial port exceptions