From 2c6df853682b44943648e163bd4002e70c1cb66c Mon Sep 17 00:00:00 2001 From: Matthieu Petiteau <mpetiteau.pro@gmail.com> Date: Thu, 7 Sep 2023 17:33:02 +0100 Subject: [PATCH] Add back env var name --- shhh/entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shhh/entrypoint.py b/shhh/entrypoint.py index 5001834f..5fedcc85 100644 --- a/shhh/entrypoint.py +++ b/shhh/entrypoint.py @@ -49,7 +49,7 @@ def create_app(env: EnvConfig) -> Flask: def _get_config(env: EnvConfig) -> type[config.DefaultConfig]: if env not in set(EnvConfig): - raise RuntimeError(f"{env=} is not supported") + raise RuntimeError(f"{env=} specified in FLASK_ENV is not supported") configurations = { EnvConfig.TESTING: config.TestConfig,