Merge pull request #655 from simons-public/elevate-bind-failure-to-error

Elevate XSocketAddressInUse to ERROR
This commit is contained in:
Dom Rodriguez 2020-05-12 23:06:15 +01:00 committed by GitHub
commit fe0f3303d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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()));