@@ -415,6 +415,7 @@ def GetFormatSpecification(cls):
415415 format_specification .AddNewSignature (b'SQLite format 3' , offset = 0 )
416416 return format_specification
417417
418+ # pylint: disable=missing-raises-doc
418419 def ParseFileEntry (self , parser_mediator , file_entry ):
419420 """Parses a SQLite database file entry.
420421
@@ -464,11 +465,17 @@ def ParseFileEntry(self, parser_mediator, file_entry):
464465 parser_mediator .SetFileEntry (file_entry )
465466 parser_mediator .AddEventAttribute ('schema_match' , schema_match )
466467
468+ # pylint: disable=try-except-raise
467469 try :
468470 plugin .UpdateChainAndProcess (
469471 parser_mediator , cache = cache , database = database ,
470472 database_wal = database_wal , wal_file_entry = wal_file_entry )
471473
474+ # Raise on coding errors.
475+ except (AttributeError , ImportError , NameError , TypeError ,
476+ UnboundLocalError ):
477+ raise
478+
472479 except Exception as exception : # pylint: disable=broad-except
473480 parser_mediator .ProduceExtractionWarning ((
474481 'plugin: {0:s} unable to parse SQLite database with error: '
@@ -490,6 +497,11 @@ def ParseFileEntry(self, parser_mediator, file_entry):
490497 parser_mediator , cache = cache , database = database ,
491498 database_wal = database_wal , wal_file_entry = wal_file_entry )
492499
500+ # Raise on coding errors.
501+ except (AttributeError , ImportError , NameError , TypeError ,
502+ UnboundLocalError ):
503+ raise
504+
493505 except Exception as exception : # pylint: disable=broad-except
494506 parser_mediator .ProduceExtractionWarning ((
495507 'plugin: {0:s} unable to parse SQLite database and WAL with '
0 commit comments