- don't retry when ResponseCodeCallElmFailed

This commit is contained in:
gazebo
2019-03-13 13:58:02 +08:00
parent 9d75a5c2b7
commit 5ddabd2c28

View File

@@ -78,9 +78,9 @@ func (a *API) AccessStorePage(subURL string) (retVal map[string]interface{}, err
return platformapi.ErrLevelSuccess, nil
}
newErr := utils.NewErrorIntCode(jsonResult1["errmsg"].(string), code)
if code == ResponseCodeCallElmFailed {
return platformapi.ErrLevelRecoverableErr, newErr
}
// if code == ResponseCodeCallElmFailed {
// return platformapi.ErrLevelRecoverableErr, newErr
// }
baseapi.SugarLogger.Debugf("ebai AccessStorePage failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
return platformapi.ErrLevelCodeIsNotOK, newErr
})