fix formatting
checks / check-links (pull_request) Successful in 22s Details
checks / checks-impure (pull_request) Successful in 1m55s Details
checks / checks (pull_request) Successful in 2m46s Details

This commit is contained in:
DavHau 2024-02-26 16:19:30 +07:00
parent 1918cfd707
commit d12019d290
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class QEMUMonitorProtocol:
ret = self.__json_read(only_event=True)
except socket.timeout:
except TimeoutError:
raise QMPTimeoutError("Timeout waiting for event")
except Exception:
raise QMPConnectError("Error while reading from socket")