[Mod]调整onErrorMsg函数
This commit is contained in:
parent
e8bf28bd8d
commit
d25065fdea
@ -498,9 +498,9 @@ class HuobiWebsocketApiBase(WebsocketClient):
|
|||||||
print("data : {}".format(packet))
|
print("data : {}".format(packet))
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
def onError(self, packet): # type: (dict)->None
|
def onErrorMsg(self, packet): # type: (dict)->None
|
||||||
""""""
|
""""""
|
||||||
print("error : {}".format(packet))
|
self.gateway.writeLog(packet['err-msg']))
|
||||||
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user