Skip to content

Commit

Permalink
feat: just return missing columns
Browse files Browse the repository at this point in the history
  • Loading branch information
Delsin Van Grembergen committed Dec 11, 2024
1 parent 12c8d0b commit 9f5bed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elody/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def __fill_objects_from_csv(self):
missing_columns = [x for x in self.index_mapping.values() if x not in row.keys()]
if missing_columns:
raise ColumnNotFoundException(
f"Not all identifying columns are present in CSV. Missing columns: {', '.join(missing_columns)}"
f"{', '.join(missing_columns)}"
)
lang = self.__determine_language(row)
previous_id = None
Expand Down

0 comments on commit 9f5bed9

Please sign in to comment.