aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parrot_zik/resource_manager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/parrot_zik/resource_manager.py b/parrot_zik/resource_manager.py
index 8a9cd46..4f90fb6 100644
--- a/parrot_zik/resource_manager.py
+++ b/parrot_zik/resource_manager.py
@@ -57,7 +57,8 @@ class ResourceManagerBase(object):
if data.notify:
notifications.append(data.notify)
else:
- raise AssertionError('Unknown response')
+ raise AssertionError('Unknown response "{}" for {}'.format(
+ data, message.request_string))
data = self.receive_message()
self.handle_notifications(notifications, message.resource)
return data.answer