diff --git a/services/backup_sa/src/module_external/bms_adapter.cpp b/services/backup_sa/src/module_external/bms_adapter.cpp index f128023a11b3f2942730a6e5fb6b9e110a3a288e..657eda3b5d93c81cb896418df02f43c549390c08 100644 --- a/services/backup_sa/src/module_external/bms_adapter.cpp +++ b/services/backup_sa/src/module_external/bms_adapter.cpp @@ -507,7 +507,8 @@ bool BundleMgrAdapter::IsUser0BundleName(std::string bundleName, int32_t userId) auto bms = GetBundleManager(); AppExecFwk::BundleInfo installedBundle; if (!bms->GetBundleInfo(bundleName, AppExecFwk::GET_BUNDLE_WITH_EXTENSION_INFO, installedBundle, userId)) { - throw BError(BError::Codes::SA_BROKEN_IPC, "Failed to get bundle infos"); + HILOGI("GetBundleInfo failed, bundleName:%{public}s", bundleName.c_str()); + return false; } if (installedBundle.applicationInfo.singleton == true) { HILOGI("bundleName:%{public}s is zero user bundle", bundleName.c_str());