Test(InventoryPersistence): improve error message

This commit is contained in:
Johannes Kirschbauer
2025-05-30 10:23:32 +02:00
parent 976c4d52cb
commit e4b95b5465
3 changed files with 47 additions and 8 deletions

View File

@@ -201,7 +201,7 @@ def calc_patches(
if old != new:
# If there is a change, check if the key is writeable
if not is_writeable_key(key):
msg = f"Key '{key}' is not writeable."
msg = f"Key '{key}' is not writeable. It seems its value is statically defined in nix."
raise ClanError(msg)
if any(key.startswith(d) for d in delete_set):