aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm')
-rw-r--r--mpm/python/usrp_mpm/rpc_server.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/rpc_server.py b/mpm/python/usrp_mpm/rpc_server.py
index 35202efa9..c67bf769b 100644
--- a/mpm/python/usrp_mpm/rpc_server.py
+++ b/mpm/python/usrp_mpm/rpc_server.py
@@ -268,8 +268,11 @@ class MPMServer(RPCServer):
"""
self._state.lock.acquire()
if self._state.claim_status.value:
- self.log.warning("Someone tried to claim this device again")
- self._last_error = "Someone tried to claim this device again"
+ error_msg = \
+ "Someone tried to claim this device again (From: {})".format(
+ self.client_host)
+ self.log.warning(error_msg)
+ self._last_error = error_msg
self._state.lock.release()
raise RuntimeError("Double-claim")
self.log.debug(