From b024560b87f4692088a5e09646c0b42429fbc9e6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 31 Jan 2015 17:39:06 +0000 Subject: Throw when setting up the proxy fails --- p2pvr/lib/temporaryIceAdapterObject.h | 1 + 1 file changed, 1 insertion(+) 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"); } } -- cgit v1.2.3