- output msg when AccessAPI failed for ebai, mtwm and jd.

This commit is contained in:
gazebo
2018-11-28 17:18:19 +08:00
parent 0023deb3dc
commit 7810741a14
3 changed files with 9 additions and 3 deletions

View File

@@ -190,6 +190,7 @@ func (a *API) AccessAPI(apiStr string, jdParams map[string]interface{}) (retVal
} else if _, ok := canRetryCodes[code]; ok {
return platformapi.ErrLevelRecoverableErr, newErr
} else {
baseapi.SugarLogger.Debugf("jd AccessAPI failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
return platformapi.ErrLevelCodeIsNotOK, newErr
}
})