From 562fae9a2564cc4860608dffc7e14a9ca21778ca Mon Sep 17 00:00:00 2001 From: nanoric Date: Mon, 15 Oct 2018 04:38:29 -0400 Subject: [PATCH] =?UTF-8?q?[Mod]=20WebSocketClient:=E9=9D=9E=E7=BA=AF?= =?UTF-8?q?=E8=99=9A=E5=87=BD=E6=95=B0=E4=B8=8D=E4=BD=BF=E7=94=A8abstractm?= =?UTF-8?q?ethod?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/api/websocket/WebSocketClient.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vnpy/api/websocket/WebSocketClient.py b/vnpy/api/websocket/WebSocketClient.py index 9ae7cafb..3cde4ef7 100644 --- a/vnpy/api/websocket/WebSocketClient.py +++ b/vnpy/api/websocket/WebSocketClient.py @@ -154,7 +154,6 @@ class WebsocketClient(object): pass #---------------------------------------------------------------------- - @abstractmethod def onError(self, exceptionType, exceptionValue, tb): """Python错误回调""" - pass + return sys.excepthook(exceptionType, exceptionValue, tb)