- don't retry when ResponseCodeCallElmFailed
This commit is contained in:
@@ -78,9 +78,9 @@ func (a *API) AccessStorePage(subURL string) (retVal map[string]interface{}, err
|
|||||||
return platformapi.ErrLevelSuccess, nil
|
return platformapi.ErrLevelSuccess, nil
|
||||||
}
|
}
|
||||||
newErr := utils.NewErrorIntCode(jsonResult1["errmsg"].(string), code)
|
newErr := utils.NewErrorIntCode(jsonResult1["errmsg"].(string), code)
|
||||||
if code == ResponseCodeCallElmFailed {
|
// if code == ResponseCodeCallElmFailed {
|
||||||
return platformapi.ErrLevelRecoverableErr, newErr
|
// return platformapi.ErrLevelRecoverableErr, newErr
|
||||||
}
|
// }
|
||||||
baseapi.SugarLogger.Debugf("ebai AccessStorePage failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
|
baseapi.SugarLogger.Debugf("ebai AccessStorePage failed, jsonResult1:%s", utils.Format4Output(jsonResult1, true))
|
||||||
return platformapi.ErrLevelCodeIsNotOK, newErr
|
return platformapi.ErrLevelCodeIsNotOK, newErr
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user