util/datamanager.lua
changeset 11292 5fd1f1b544a0
parent 10670 dfc8257d8445
child 11373 87105a9a11df
--- a/util/datamanager.lua	Sat Jan 16 00:24:06 2021 +0100
+++ b/util/datamanager.lua	Sat Jan 16 15:49:46 2021 +0100
@@ -344,7 +344,7 @@
 
 	local mode, err = lfs.attributes(store_dir, "mode");
 	if not mode then
-		return function() log("debug", err or (store_dir .. " does not exist")) end
+		return function() log("debug", "Could not iterate over stores in %s: %s", store_dir, err); end
 	end
 	local next, state = lfs.dir(store_dir); -- luacheck: ignore 431/next 431/state
 	return function(state) -- luacheck: ignore 431/state