main
Thomas Sileo 2022-06-22 20:48:48 +02:00
parent 45782010d5
commit b16cf7a719
2 changed files with 4 additions and 2 deletions

View File

@ -18,4 +18,4 @@ jobs:
- run: |
poetry env use "3.10"
poetry install --no-interaction
- run: poetry run inv tests
- run: inv tests

View File

@ -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: