diff --git a/qpython/qconnection.py b/qpython/qconnection.py index 1b0a7bc..317a360 100644 --- a/qpython/qconnection.py +++ b/qpython/qconnection.py @@ -306,7 +306,7 @@ def sync(self, query, *parameters, **options): return response.data else: self._writer.write(QException('nyi: qPython expected response message'), MessageType.ASYNC if response.type == MessageType.ASYNC else MessageType.RESPONSE) - raise QReaderException('Received message of type: %s where response was expected') + raise QReaderException('Received message of type: %s where response was expected' % response.type) def send(self, query, *parameters, **options):