mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-08-02 22:21:42 +02:00
Fix exceptions referenced in #1287
This commit is contained in:
core/src
misc_modules
source_modules
@@ -154,8 +154,8 @@ private:
|
||||
_this->client = rfspace::connect(_this->hostname, _this->port, &_this->stream);
|
||||
_this->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());
|
||||
}
|
||||
}
|
||||
else if (connected && SmGui::Button("Disconnect##rfspace_source")) {
|
||||
|
Reference in New Issue
Block a user