From d3da3c97b32546b0c1390f2f5f30bea009af9c8b Mon Sep 17 00:00:00 2001 From: nanoric Date: Thu, 1 Nov 2018 00:29:46 -0400 Subject: [PATCH] =?UTF-8?q?[Mod]=20=E4=BF=AE=E6=94=B9=EF=BC=9ABitmexGatewa?= =?UTF-8?q?y=E5=87=BA=E9=94=99=E6=97=B6=E5=B0=86=E4=BC=9A=E5=9C=A8stderr?= =?UTF-8?q?=E9=87=8C=E9=9D=A2=E6=89=93=E5=8D=B0=E6=9B=B4=E8=AF=A6=E7=BB=86?= =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/gateway/bitmexGateway/bitmexGateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py b/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py index 95745adb..def69c5f 100644 --- a/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py +++ b/vnpy/trader/gateway/bitmexGateway/bitmexGateway.py @@ -469,7 +469,7 @@ class BitmexWebsocketApi(WebsocketClient): e.errorMsg = exceptionValue self.gateway.onError(e) - traceback.print_exc() + sys.stderr.write(self.exceptionDetail(exceptionType, exceptionValue, tb)) #---------------------------------------------------------------------- def writeLog(self, content):