Skip to content

Commit

Permalink
Revert "- extra logging message"
Browse files Browse the repository at this point in the history
This reverts commit 8f19e95.
  • Loading branch information
elipe17 committed Sep 7, 2023
1 parent 8f19e95 commit 42e789c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdrs-backend/tdpservice/parsers/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def parse_datafile_lines(datafile, program_type, section, is_encrypted):
# successfully create the records.
all_created, unsaved_records = bulk_create_records(unsaved_records, line_number, header_count, flush=True)
if not all_created:
logger.error(f"Not all parsed records created for file: {datafile.id}! Rolling back records and errors!")
logger.error(f"Not all parsed records created for file: {datafile.id}!")
rollback_records(unsaved_records, datafile)
bulk_create_errors(unsaved_parser_errors, num_errors, flush=True)
return errors
Expand Down

0 comments on commit 42e789c

Please sign in to comment.