modified error handle

This commit is contained in:
yangk 2020-11-10 16:47:44 +08:00
parent f0ed70e012
commit 622941f7e3

View File

@ -97,7 +97,7 @@ func (a *ApplicationAction) BatchCreateApp(apps *model.CreateAppRequest, tenantI
regionApp, err := GetApplicationHandler().CreateApp(&app)
if err != nil {
logrus.Errorf("Batch Create App [%v] error is [%v] ", app.AppName, err)
return nil, err
continue
}
resp.AppID = app.ConsoleAppID
resp.RegionAppID = regionApp.AppID