summaryrefslogtreecommitdiffstats
path: root/src/virtual/qmp.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/virtual/qmp.py')
-rw-r--r--src/virtual/qmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtual/qmp.py b/src/virtual/qmp.py
index 5c8cf6a..96823d3 100644
--- a/src/virtual/qmp.py
+++ b/src/virtual/qmp.py
@@ -170,7 +170,7 @@ class QEMUMonitorProtocol(object):
except socket.error as err:
if err[0] == errno.EPIPE:
return
- raise socket.error(err)
+ raise socket.error(err) from err
resp = self.__json_read()
self.logger.debug("<<< %s", resp)
return resp