aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzaverden <zaverden@yandex-team.com>2024-06-13 16:36:25 +0300
committerzaverden <zaverden@yandex-team.com>2024-06-13 16:57:13 +0300
commit3021b75cb7c16df7e4c99f77ef1509c72a79c876 (patch)
tree9f7ca3734f2c0047d51b86cea4ff0bc3ab378494
parentbe8f62f3ccb954ba45fbf627ce418b5b0c2aaa19 (diff)
downloadydb-3021b75cb7c16df7e4c99f77ef1509c72a79c876.tar.gz
feat(conf): strong error for missing env
2bcbc388f4572621be717459467a10ee900a6348
-rw-r--r--build/plugins/nots.py2
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}"')