cache: print debug info for parentKey
@@ -988,7 +988,8 @@ static void elektraCacheLoad (KDB * handle, KeySet * cache, Key * parentKey, Key
elektraCacheCutMeta (handle);
return;
}
- ELEKTRA_ASSERT (elektraStrCmp (keyName (initialParent), keyName (parentKey)) == 0, "parentKey name differs from initial");
+ ELEKTRA_ASSERT (elektraStrCmp (keyName (initialParent), keyName (parentKey)) == 0,
+ "parentKey name (%s) differs from initial (%s)", keyName (parentKey), keyName (initialParent));
if (elektraCacheCheckParent (handle->global, cacheParent, parentKey) != 0)
{
// parentKey in cache does not match, needs rebuild
