Adds warning if missing file in backup for configuration profiles

This commit is contained in:
tek 2023-11-02 18:54:18 +01:00
parent 5462c8d6e7
commit 353381a7d6

View File

@ -102,6 +102,11 @@ class ConfigurationProfiles(IOSExtraction):
conf_file_path = self._get_backup_file_from_id(conf_file["file_id"])
if not conf_file_path:
self.log.debug(
"Missing file %s in backup (%s)",
conf_file["file_id"],
conf_file["relative_path"],
)
continue
with open(conf_file_path, "rb") as handle: