mirror of
https://github.com/mvt-project/mvt.git
synced 2024-07-01 08:29:03 +00:00
Adds warning if missing file in backup for configuration profiles
This commit is contained in:
parent
5462c8d6e7
commit
353381a7d6
|
@ -102,6 +102,11 @@ class ConfigurationProfiles(IOSExtraction):
|
||||||
|
|
||||||
conf_file_path = self._get_backup_file_from_id(conf_file["file_id"])
|
conf_file_path = self._get_backup_file_from_id(conf_file["file_id"])
|
||||||
if not conf_file_path:
|
if not conf_file_path:
|
||||||
|
self.log.debug(
|
||||||
|
"Missing file %s in backup (%s)",
|
||||||
|
conf_file["file_id"],
|
||||||
|
conf_file["relative_path"],
|
||||||
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
with open(conf_file_path, "rb") as handle:
|
with open(conf_file_path, "rb") as handle:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user