From 31e47beca47fdb44b2c798d293c6373261457431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 31 Oct 2023 13:03:59 +0100 Subject: [PATCH] improve error message if flake_dir does not exists --- pkgs/clan-cli/clan_cli/dirs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/dirs.py b/pkgs/clan-cli/clan_cli/dirs.py index 1bd45ebb1..c99545aa3 100644 --- a/pkgs/clan-cli/clan_cli/dirs.py +++ b/pkgs/clan-cli/clan_cli/dirs.py @@ -77,7 +77,7 @@ def clan_flakes_dir() -> Path: def specific_flake_dir(flake_name: FlakeName) -> Path: flake_dir = clan_flakes_dir() / flake_name if not flake_dir.exists(): - raise ClanError(f"Flake '{flake_name}' does not exist") + raise ClanError(f"Flake '{flake_name}' does not exist in {flake_dir}") return flake_dir