From b16cf7a7194a0e9db2e5f24c22499f8b08a61101 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 22 Jun 2022 20:48:48 +0200 Subject: [PATCH] Fix CI --- .github/workflows/ci.yml | 2 +- app/config.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8efde4..1c1075f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,4 +18,4 @@ jobs: - run: | poetry env use "3.10" poetry install --no-interaction - - run: poetry run inv tests + - run: inv tests diff --git a/app/config.py b/app/config.py index 934009c..15ffbd9 100644 --- a/app/config.py +++ b/app/config.py @@ -41,7 +41,9 @@ def load_config() -> Config: tomli.loads((ROOT_DIR / "data" / _CONFIG_FILE).read_text()) ) except FileNotFoundError: - raise ValueError("Please run the configuration wizard") + raise ValueError( + f"Please run the configuration wizard, {_CONFIG_FILE} is missing" + ) def is_activitypub_requested(req: Request) -> bool: