diff --git a/run.py b/run.py index 6e9e963..a4eb067 100755 --- a/run.py +++ b/run.py @@ -30,6 +30,8 @@ def configure_logger(): def get_env(name) -> str: env = FTEST_AUTH = os.environ.get(name) logger.info(f"Environment: {name}: {env}") + if env is None: + raise Exception(f"Please set environment variable {name}. See https://git.batsense.net/ForgeFlux/webfinger-test#environment-variables") return env