Browse Source

fix in error handling

Johannes Gütschow 2 months ago
parent
commit
b6b5afb088
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/unfccc_ghg_data/unfccc_crf_reader/unfccc_crf_reader_prod.py

+ 1 - 1
src/unfccc_ghg_data/unfccc_crf_reader/unfccc_crf_reader_prod.py

@@ -521,7 +521,7 @@ def read_new_crf_for_year(  # noqa: PLR0912
                     f"No {submission_type} data for country {country}, "
                     f"{submission_year}"
                 )
-                read_countries[country] = "no data"
+                read_countries[country] = "failed"
         except Exception as ex:
             print(
                 f"{submission_type} data for country {country}, "