pkg/exchange: print more logs

This commit is contained in:
edwin 2024-02-20 17:55:47 +08:00
parent 7436a7e2e1
commit 516c5e8137

View File

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