mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-27 04:47:51 +02:00
Fix exceptions referenced in #1287
This commit is contained in:
@ -233,8 +233,8 @@ private:
|
||||
client = server::connect(hostname, port, &stream);
|
||||
deviceInit();
|
||||
}
|
||||
catch (std::exception e) {
|
||||
flog::error("Could not connect to SDR: {0}", e.what());
|
||||
catch (const std::exception& e) {
|
||||
flog::error("Could not connect to SDR: {}", e.what());
|
||||
if (!strcmp(e.what(), "Server busy")) { serverBusy = true; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user