diff options
Diffstat (limited to 'module/remote/WSClient.py')
-rw-r--r-- | module/remote/WSClient.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/remote/WSClient.py b/module/remote/WSClient.py index 23b5fc3ca..fc7590edb 100644 --- a/module/remote/WSClient.py +++ b/module/remote/WSClient.py @@ -34,6 +34,8 @@ class WSClient: self.ws.send(dumps([func, args])) code, result = loads(self.ws.recv()) + if code == 400: + raise result if code == 404: raise AttributeError("Unknown Method") elif code == 500: |