This commit is contained in:
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

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