Browse Source

Report TCPServer errorString() if webui fails to listen to port

adaptive-webui-19844
Matthew Fioravante 7 years ago
parent
commit
05c92e652c
  1. 2
      src/webui/webui.cpp

2
src/webui/webui.cpp

@ -93,7 +93,7 @@ void WebUI::init() @@ -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

Loading…
Cancel
Save