Merge pull request #1206 from nanoric/bitmex_onerror_show_more_details
[Mod] 修改:BitmexGateway出错时将会在stderr里面打印更详细的错误信息
This commit is contained in:
commit
bc28feddfa
@ -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