瀏覽代碼

fix in error handling

Johannes Gütschow 2 月之前
父節點
當前提交
b6b5afb088
共有 1 個文件被更改,包括 1 次插入1 次删除
  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}, "