mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:27:04 +02:00
on failure, print names of servers that didn't connect
This commit is contained in:
parent
1dc52d3bf5
commit
86a3190385
2 changed files with 20 additions and 0 deletions
|
@ -213,6 +213,24 @@ void ACClientApp::notifyPacketVersionMismatch() {
|
||||||
finish(1);
|
finish(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ACClientApp::printFailedServers() {
|
||||||
|
if (!_sawEntityServer) {
|
||||||
|
qDebug() << "EntityServer";
|
||||||
|
}
|
||||||
|
if (!_sawAudioMixer) {
|
||||||
|
qDebug() << "AudioMixer";
|
||||||
|
}
|
||||||
|
if (!_sawAvatarMixer) {
|
||||||
|
qDebug() << "AvatarMixer";
|
||||||
|
}
|
||||||
|
if (!_sawAssetServer) {
|
||||||
|
qDebug() << "AssetServer";
|
||||||
|
}
|
||||||
|
if (!_sawMessagesMixer) {
|
||||||
|
qDebug() << "MessagesMixer";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void ACClientApp::finish(int exitCode) {
|
void ACClientApp::finish(int exitCode) {
|
||||||
auto nodeList = DependencyManager::get<NodeList>();
|
auto nodeList = DependencyManager::get<NodeList>();
|
||||||
|
|
||||||
|
@ -230,5 +248,6 @@ void ACClientApp::finish(int exitCode) {
|
||||||
nodeThread->quit();
|
nodeThread->quit();
|
||||||
nodeThread->wait();
|
nodeThread->wait();
|
||||||
|
|
||||||
|
printFailedServers();
|
||||||
QCoreApplication::exit(exitCode);
|
QCoreApplication::exit(exitCode);
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,7 @@ private slots:
|
||||||
private:
|
private:
|
||||||
NodeList* _nodeList;
|
NodeList* _nodeList;
|
||||||
void timedOut();
|
void timedOut();
|
||||||
|
void printFailedServers();
|
||||||
void finish(int exitCode);
|
void finish(int exitCode);
|
||||||
bool _verbose;
|
bool _verbose;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue