mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
pkg/exchange: print more logs
This commit is contained in:
parent
7436a7e2e1
commit
516c5e8137
|
@ -256,5 +256,5 @@ func (a APIResponse) Validate() error {
|
|||
}
|
||||
|
||||
func (a APIResponse) Error() error {
|
||||
return fmt.Errorf("retCode: %s, retMsg: %s", a.Code, a.Message)
|
||||
return fmt.Errorf("retCode: %s, retMsg: %s, data: %s", a.Code, a.Message, string(a.Data))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user