From f3c0948283ef12698b6eea8a7cd6797049c824bd Mon Sep 17 00:00:00 2001 From: Nex Date: Sun, 1 Aug 2021 19:50:25 +0200 Subject: [PATCH] Fixing exception name in Manifest module --- mvt/ios/modules/fs/manifest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mvt/ios/modules/fs/manifest.py b/mvt/ios/modules/fs/manifest.py index 67b38a7..bc00180 100644 --- a/mvt/ios/modules/fs/manifest.py +++ b/mvt/ios/modules/fs/manifest.py @@ -11,6 +11,7 @@ import sqlite3 import biplist from mvt.common.utils import convert_timestamp_to_iso +from mvt.common.module import DatabaseNotFoundError from .base import IOSExtraction @@ -91,7 +92,7 @@ class Manifest(IOSExtraction): def run(self): manifest_db_path = os.path.join(self.base_folder, "Manifest.db") if not os.path.isfile(manifest_db_path): - raise FileNotFoundError("Impossible to find the module's database file") + raise DatabaseNotFoundError("Impossible to find the module's database file") self.log.info("Found Manifest.db database at path: %s", manifest_db_path)