mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-27 21:07:50 +02:00
Fix exceptions referenced in #1287
This commit is contained in:
@ -200,8 +200,8 @@ private:
|
||||
listener = net::listen(hostname, port);
|
||||
listener->acceptAsync(clientHandler, this);
|
||||
}
|
||||
catch (std::exception e) {
|
||||
flog::error("Could not start rigctl server: {0}", e.what());
|
||||
catch (const std::exception& e) {
|
||||
flog::error("Could not start rigctl server: {}", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user