- DeleteStoreAllCategories中的任务改为可错误继续的
This commit is contained in:
@@ -35,7 +35,7 @@ func SendSMSMsg(mobileList []string, signName, templateCode string, templatePara
|
||||
globals.SugarLogger.Warnf("SendSMSMsg mobileNum:%s failed with error:%v", mobileNum, err)
|
||||
errList.AddErr(err)
|
||||
} else if response.Code != aliyunsmsclient.ResponseCodeOk {
|
||||
errMsg := fmt.Sprintf("SendSMSMsg mobileNum:%s failed with response:%s", mobileNum, utils.Format4Output(response, false))
|
||||
errMsg := fmt.Sprintf("SendSMSMsg mobileNum:%s failed with response:%s", mobileNum, utils.Format4Output(response, true))
|
||||
errList.AddErr(fmt.Errorf(errMsg))
|
||||
if warningMap[response.Code] == 1 {
|
||||
globals.SugarLogger.Warnf(errMsg)
|
||||
|
||||
Reference in New Issue
Block a user