We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a313a commit 4f5d045Copy full SHA for 4f5d045
1 file changed
source_modules/hydrasdr_source/src/main.cpp
@@ -194,15 +194,15 @@ class HydraSDRSourceModule : public ModuleManager::Instance {
194
if (err != 0) {
195
char buf[1024];
196
snprintf(buf, sizeof(buf), "%016" PRIX64, serial);
197
- flog::error("Could not open HydraSDR {0}", buf);
+ flog::error("Could not open HydraSDR {0} (err={1})", buf, err);
198
selectedSerial = 0;
199
return;
200
}
201
202
- catch (const std::exception&) {
+ catch (const std::exception& e) {
203
204
205
- flog::error("Could not open HydraSDR {}", buf);
+ flog::error("Could not open HydraSDR {} (exception: {})", buf, e.what());
206
207
208
devId = devices.valueId(serial);
0 commit comments