error message added auto com port detection

added error message to auto com port detection