summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p2pvr/devices/devices.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/p2pvr/devices/devices.cpp b/p2pvr/devices/devices.cpp
index 9169c96..a9fb214 100644
--- a/p2pvr/devices/devices.cpp
+++ b/p2pvr/devices/devices.cpp
@@ -87,9 +87,9 @@ DevicesI::getTuner(const DVBSI::DeliveryPtr & delivery)
devices.erase(devItr);
return tuner;
}
- catch (...) {
- logger->messagebf(LOG::DEBUG, "%s: Failed to open and tune device %s to frequency %d", __PRETTY_FUNCTION__,
- *devItr, delivery->Frequency);
+ catch (const std::exception & ex) {
+ logger->messagebf(LOG::DEBUG, "%s: Failed to open and tune device %s (%s) to frequency %d", __PRETTY_FUNCTION__,
+ *devItr, ex.what(), delivery->Frequency);
}
}
logger->messagebf(LOG::DEBUG, "%s: Failed to open and tune any device to frequency %d", __PRETTY_FUNCTION__,