From 05c92e652ca84d6da4316462346c0da2c8bed601 Mon Sep 17 00:00:00 2001 From: Matthew Fioravante Date: Fri, 6 Oct 2017 05:54:52 +0000 Subject: [PATCH] Report TCPServer errorString() if webui fails to listen to port --- src/webui/webui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/webui.cpp b/src/webui/webui.cpp index 32795b7a5..82aa3a839 100644 --- a/src/webui/webui.cpp +++ b/src/webui/webui.cpp @@ -93,7 +93,7 @@ void WebUI::init() if (success) logger->addMessage(tr("Web UI: Now listening on port %1").arg(m_port)); else - logger->addMessage(tr("Web UI: Unable to bind to port %1").arg(m_port), Log::CRITICAL); + logger->addMessage(tr("Web UI: Unable to bind to port %1 : %2").arg(m_port).arg(m_httpServer->errorString()), Log::CRITICAL); } // DynDNS