@@ -380,6 +380,7 @@ def GetFormatSpecification(cls):
380380 format_specification .AddNewSignature (b'SQLite format 3' , offset = 0 )
381381 return format_specification
382382
383+ # pylint: disable=missing-raises-doc
383384 def ParseFileEntry (self , parser_mediator , file_entry ):
384385 """Parses a SQLite database file entry.
385386
@@ -428,11 +429,17 @@ def ParseFileEntry(self, parser_mediator, file_entry):
428429 parser_mediator .SetFileEntry (file_entry )
429430 parser_mediator .AddEventAttribute ('schema_match' , schema_match )
430431
432+ # pylint: disable=try-except-raise
431433 try :
432434 plugin .UpdateChainAndProcess (
433435 parser_mediator , cache = cache , database = database ,
434436 database_wal = database_wal , wal_file_entry = wal_file_entry )
435437
438+ # Raise on coding errors.
439+ except (AttributeError , ImportError , NameError , TypeError ,
440+ UnboundLocalError ):
441+ raise
442+
436443 except Exception as exception : # pylint: disable=broad-except
437444 parser_mediator .ProduceExtractionWarning ((
438445 'plugin: {0:s} unable to parse SQLite database with error: '
@@ -454,6 +461,11 @@ def ParseFileEntry(self, parser_mediator, file_entry):
454461 parser_mediator , cache = cache , database = database ,
455462 database_wal = database_wal , wal_file_entry = wal_file_entry )
456463
464+ # Raise on coding errors.
465+ except (AttributeError , ImportError , NameError , TypeError ,
466+ UnboundLocalError ):
467+ raise
468+
457469 except Exception as exception : # pylint: disable=broad-except
458470 parser_mediator .ProduceExtractionWarning ((
459471 'plugin: {0:s} unable to parse SQLite database and WAL with '
0 commit comments