Fix exceptions referenced in #1287

This commit is contained in:
AlexandreRouma
2024-01-22 19:46:01 +01:00
parent 159f59b858
commit 27ab5bf3c1
13 changed files with 26 additions and 26 deletions

View File

@ -141,10 +141,10 @@ public:
return;
}
}
catch (std::exception e) {
catch (const std::exception& e) {
char buf[1024];
sprintf(buf, "%016" PRIX64, serial);
flog::error("Could not open Airspy {0}", buf);
flog::error("Could not open Airspy {}", buf);
}
selectedSerial = serial;