improve error message if flake_dir does not exists
This commit is contained in:
parent
61abc96581
commit
cb87ccbfc4
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user