|
@ -40,7 +40,7 @@ Config Settings::getSettings() { |
|
|
bool isOnline = false; |
|
|
bool isOnline = false; |
|
|
// make sure existing server in conf is alive, otherwise choose random one
|
|
|
// make sure existing server in conf is alive, otherwise choose random one
|
|
|
try { |
|
|
try { |
|
|
bool isOnline = litelib_check_server_online(server.toStdString().c_str()); |
|
|
isOnline = litelib_check_server_online(server.toStdString().c_str()); |
|
|
} catch (const std::exception& e) { |
|
|
} catch (const std::exception& e) { |
|
|
qDebug() << __func__ << ": caught an exception, ignoring: " << e.what(); |
|
|
qDebug() << __func__ << ": caught an exception, ignoring: " << e.what(); |
|
|
} |
|
|
} |
|
|