diff options
Diffstat (limited to 'py/demo/IceGrid/allocate/Client.py')
-rw-r--r-- | py/demo/IceGrid/allocate/Client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py/demo/IceGrid/allocate/Client.py b/py/demo/IceGrid/allocate/Client.py index 7fc3ed75a40..716c1863573 100644 --- a/py/demo/IceGrid/allocate/Client.py +++ b/py/demo/IceGrid/allocate/Client.py @@ -76,7 +76,8 @@ class Client(Ice.Application): try: hello = Demo.HelloPrx.checkedCast(session.allocateObjectById(self.communicator().stringToIdentity("hello"))) except IceGrid.AllocationException, ex: - pass + print self.appName() + ": could not allocate object: " + ex.reason + return False except IceGrid.ObjectNotRegisteredException: pass if hello == None: |