diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -304,7 +304,7 @@ required privileges or device is already qCritical() << "A timeout error occurred."; break; case QSerialPort::UnknownError: - qCritical() << "Unknown error!"; + qCritical() << "Unknown error! Error: " << serialPort.errorString(); break; default: qCritical() << "Unhandled port error: " << error;