[Mod] 修改:BitmexGateway出错时将会在stderr里面打印更详细的错误信息
This commit is contained in:
parent
5e6f81e544
commit
d3da3c97b3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user