summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p2pvr/lib/temporaryIceAdapterObject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/p2pvr/lib/temporaryIceAdapterObject.h b/p2pvr/lib/temporaryIceAdapterObject.h
index 949661a..e9ba317 100644
--- a/p2pvr/lib/temporaryIceAdapterObject.h
+++ b/p2pvr/lib/temporaryIceAdapterObject.h
@@ -12,6 +12,7 @@ class TemporaryIceAdapterObject {
proxy(Object::ProxyType::checkedCast(adapter->addWithUUID(object)))
{
if (!proxy) {
+ throw std::runtime_error("Failed to set up new object proxy");
}
}