mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-01 14:47:51 +02:00
Fix exceptions referenced in #1287
This commit is contained in:
@ -132,8 +132,8 @@ private:
|
||||
try {
|
||||
_this->client = rtltcp::connect(&_this->stream, _this->ip, _this->port);
|
||||
}
|
||||
catch (std::exception e) {
|
||||
flog::error("Could connect to RTL-TCP server: {0}", e.what());
|
||||
catch (const std::exception& e) {
|
||||
flog::error("Could connect to RTL-TCP server: {}", e.what());
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user