Skip to content

Commit

Permalink
include preparsing errors in row_precheck_errors status
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimpe committed Oct 4, 2023
1 parent ef70400 commit 5c62b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdrs-backend/tdpservice/parsers/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_status(self):
.exclude(error_message__icontains="Unknown Record_Type was found.")

row_precheck_errors = errors.filter(error_type=ParserErrorCategoryChoices.PRE_CHECK)\
.filter(error_message__icontains="Unknown Record_Type was found.")\
.filter(field_name="Record_Type")\
.exclude(error_message__icontains="trailer")

if errors is None:
Expand Down

0 comments on commit 5c62b11

Please sign in to comment.