diff options
author | zaverden <zaverden@yandex-team.com> | 2024-06-13 16:36:25 +0300 |
---|---|---|
committer | zaverden <zaverden@yandex-team.com> | 2024-06-13 16:57:13 +0300 |
commit | 3021b75cb7c16df7e4c99f77ef1509c72a79c876 (patch) | |
tree | 9f7ca3734f2c0047d51b86cea4ff0bc3ab378494 | |
parent | be8f62f3ccb954ba45fbf627ce418b5b0c2aaa19 (diff) | |
download | ydb-3021b75cb7c16df7e4c99f77ef1509c72a79c876.tar.gz |
feat(conf): strong error for missing env
2bcbc388f4572621be717459467a10ee900a6348
-rw-r--r-- | build/plugins/nots.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/plugins/nots.py b/build/plugins/nots.py index 5140eebb86..a011218f7d 100644 --- a/build/plugins/nots.py +++ b/build/plugins/nots.py @@ -266,7 +266,7 @@ def on_setup_build_env(unit): # type: (Unit) -> None options.append("--env") value = unit.get(f"TS_ENV_{name}") if value is None: - logger.warn(f"Env var '{name}' is provided in a list, but var value is not provided") + ymake.report_configure_error(f"Env var '{name}' is provided in a list, but var value is not provided") continue double_quote_escaped_value = value.replace('"', '\\"') options.append(f'"{name}={double_quote_escaped_value}"') |