diff --git a/src/dandi_s3_log_parser/_s3_log_line_parser.py b/src/dandi_s3_log_parser/_s3_log_line_parser.py index 3aa51f2..cc877b0 100644 --- a/src/dandi_s3_log_parser/_s3_log_line_parser.py +++ b/src/dandi_s3_log_parser/_s3_log_line_parser.py @@ -154,6 +154,9 @@ def _append_reduced_log_line( raw_line=raw_line, ) + if full_log_line is None: + return None + # Various early skip conditions if full_log_line.bucket != bucket: return None