Merge branch 'master' into v073
This commit is contained in:
commit
f05e7c6e70
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class Peer(object):
|
||||||
raise Exception("No connection found")
|
raise Exception("No connection found")
|
||||||
res = self.connection.request(cmd, params, stream_to)
|
res = self.connection.request(cmd, params, stream_to)
|
||||||
if not res:
|
if not res:
|
||||||
raise Exception("Send error : result is empty")
|
raise Exception("Send error: result is empty")
|
||||||
if "error" in res:
|
if "error" in res:
|
||||||
self.log("%s error: %s" % (cmd, res["error"]))
|
self.log("%s error: %s" % (cmd, res["error"]))
|
||||||
self.onConnectionError("Response error")
|
self.onConnectionError("Response error")
|
||||||
|
|
Loading…
Reference in a new issue