77
88from dfvfs .path import factory as dfvfs_factory
99
10+ from plaso .lib import definitions
1011from plaso .lib import specification
1112from plaso .parsers import interface
1213from plaso .parsers import logger
@@ -372,6 +373,7 @@ def GetFormatSpecification(cls):
372373 format_specification .AddNewSignature (b'SQLite format 3' , offset = 0 )
373374 return format_specification
374375
376+ # pylint: disable=missing-raises-doc
375377 def ParseFileEntry (self , parser_mediator , file_entry ):
376378 """Parses a SQLite database file entry.
377379
@@ -425,11 +427,15 @@ def ParseFileEntry(self, parser_mediator, file_entry):
425427 parser_mediator .SetFileEntry (file_entry )
426428 parser_mediator .AddEventAttribute ('schema_match' , schema_match )
427429
430+ # pylint: disable=try-except-raise
428431 try :
429432 plugin .UpdateChainAndProcess (
430433 parser_mediator , cache = cache , database = database ,
431434 database_wal = database_wal , wal_file_entry = wal_file_entry )
432435
436+ except definitions .EXCEPTIONS_EXCLUDED_FROM_CATCH_ALL :
437+ raise
438+
433439 except Exception as exception : # pylint: disable=broad-except
434440 parser_mediator .ProduceExtractionWarning ((
435441 'plugin: {0:s} unable to parse SQLite database with error: '
@@ -451,6 +457,9 @@ def ParseFileEntry(self, parser_mediator, file_entry):
451457 parser_mediator , cache = cache , database = database ,
452458 database_wal = database_wal , wal_file_entry = wal_file_entry )
453459
460+ except definitions .EXCEPTIONS_EXCLUDED_FROM_CATCH_ALL :
461+ raise
462+
454463 except Exception as exception : # pylint: disable=broad-except
455464 parser_mediator .ProduceExtractionWarning ((
456465 'plugin: {0:s} unable to parse SQLite database and WAL with '
0 commit comments