[Mod] 修改:BitmexGateway出错时将会在stderr里面打印更详细的错误信息

This commit is contained in:
nanoric 2018-11-01 00:29:46 -04:00
parent 5e6f81e544
commit d3da3c97b3

View File

@ -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):