Merge pull request #655 from simons-public/elevate-bind-failure-to-error
Elevate XSocketAddressInUse to ERROR
This commit is contained in:
commit
fe0f3303d7
|
@ -560,10 +560,10 @@ ServerApp::startServer()
|
|||
return true;
|
||||
}
|
||||
catch (XSocketAddressInUse& e) {
|
||||
LOG((CLOG_WARN "cannot listen for clients: %s", e.what()));
|
||||
LOG((CLOG_ERR "cannot listen for clients: %s", e.what()));
|
||||
closeClientListener(listener);
|
||||
updateStatus(String("cannot listen for clients: ") + e.what());
|
||||
retryTime = 10.0;
|
||||
retryTime = 1.0;
|
||||
}
|
||||
catch (XBase& e) {
|
||||
LOG((CLOG_CRIT "failed to start server: %s", e.what()));
|
||||
|
|
Loading…
Reference in New Issue