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 8cd9a74..9169c96 100644
--- a/p2pvr/devices/devices.cpp
+++ b/p2pvr/devices/devices.cpp
@@ -56,9 +56,9 @@ DevicesI::getTuner()
devices.erase(devItr);
return tuner;
}
- catch (...) {
- logger->messagebf(LOG::DEBUG, "%s: Failed to open device %s", __PRETTY_FUNCTION__,
- *devItr);
+ catch (const std::exception & ex) {
+ logger->messagebf(LOG::DEBUG, "%s: Failed to open device %s (%s)", __PRETTY_FUNCTION__,
+ *devItr, ex.what());
}
}
throw NoSuitableDeviceAvailable();