提交IbGateway对中文日志信息的支持
This commit is contained in:
parent
03e4f73139
commit
cbdfeada50
@ -335,7 +335,7 @@ class IbWrapper(IbApi):
|
|||||||
err = VtErrorData()
|
err = VtErrorData()
|
||||||
err.gatewayName = self.gatewayName
|
err.gatewayName = self.gatewayName
|
||||||
err.errorID = errorCode
|
err.errorID = errorCode
|
||||||
err.errorMsg = errorString
|
err.errorMsg = errorString.decode('GBK')
|
||||||
self.gateway.onError(err)
|
self.gateway.onError(err)
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user