diff --git a/arekit/contrib/utils/data/writers/json_opennre.py b/arekit/contrib/utils/data/writers/json_opennre.py index 085bccc6..8415c937 100644 --- a/arekit/contrib/utils/data/writers/json_opennre.py +++ b/arekit/contrib/utils/data/writers/json_opennre.py @@ -77,11 +77,9 @@ def __format_row(row, na_value, text_columns, keep_extra_columns, skip_extra_exi if key not in formatted_data and key not in text_columns: formatted_data[key] = value else: - info = f"key `{key}` is already exist in formatted data "\ - f"or a part of the text columns list: {text_columns}" - logger.info(info) if not skip_extra_existed: - raise Exception(info) + raise Exception(f"key `{key}` is already exist in formatted data " + f"or a part of the text columns list: {text_columns}") return formatted_data