From ea5021cde2c9eb496c70d432a72bda0d1ef6e453 Mon Sep 17 00:00:00 2001 From: CodyCBakerPhD Date: Sun, 14 Jul 2024 23:32:33 -0400 Subject: [PATCH] error debug --- src/dandi_s3_log_parser/_s3_log_line_parser.py | 3 +++ 1 file changed, 3 insertions(+) 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