mirror of
https://github.com/mvt-project/mvt.git
synced 2026-09-30 21:19:41 +02:00
Fixing exception name in Manifest module
This commit is contained in:
1 parent
be24680046
commit
f3c0948283
1 file changed
+2
-1
@@ -11,6 +11,7 @@ import sqlite3
|
|||||||
import biplist
|
import biplist
|
||||||
|
|
||||||
from mvt.common.utils import convert_timestamp_to_iso
|
from mvt.common.utils import convert_timestamp_to_iso
|
||||||
|
from mvt.common.module import DatabaseNotFoundError
|
||||||
|
|
||||||
from .base import IOSExtraction
|
from .base import IOSExtraction
|
||||||
|
|
||||||
@@ -91,7 +92,7 @@ class Manifest(IOSExtraction):
|
|||||||
def run(self):
|
def run(self):
|
||||||
manifest_db_path = os.path.join(self.base_folder, "Manifest.db")
|
manifest_db_path = os.path.join(self.base_folder, "Manifest.db")
|
||||||
if not os.path.isfile(manifest_db_path):
|
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)
|
self.log.info("Found Manifest.db database at path: %s", manifest_db_path)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user