mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-27 12:57:50 +02:00
Fix exceptions referenced in #1287
This commit is contained in:
@ -200,11 +200,11 @@ private:
|
||||
_this->audio.startStream();
|
||||
_this->running = true;
|
||||
}
|
||||
catch (std::exception e) {
|
||||
flog::error("Error opening audio device: {0}", e.what());
|
||||
catch (const std::exception& e) {
|
||||
flog::error("Error opening audio device: {}", e.what());
|
||||
}
|
||||
|
||||
flog::info("AudioSourceModule '{0}': Start!", _this->name);
|
||||
flog::info("AudioSourceModule '{}': Start!", _this->name);
|
||||
}
|
||||
|
||||
static void stop(void* ctx) {
|
||||
|
Reference in New Issue
Block a user