diff options
author | Diego MartÃnez <lkaezadl3@yahoo.com> | 2016-12-11 17:57:29 -0300 |
---|---|---|
committer | Diego MartÃnez <lkaezadl3@yahoo.com> | 2016-12-11 17:57:29 -0300 |
commit | 97fb251ad954a5927a4ba59e72cffd277e6d244c (patch) | |
tree | 7024db2140796d526acf50a1fb6c73f95923e361 | |
parent | 877e55078718047323ce2d5b07d004c05414aaf5 (diff) |
Better diagnostics in case of DB load error.
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -361,10 +361,10 @@ local function load_db() WARNING("Unable to load database: %s", "Read failed") return end - local t = minetest.deserialize(cont) + local t, e = minetest.deserialize(cont) if not t then WARNING("Unable to load database: %s", - "Deserialization failed") + "Deserialization failed: "..(e or "unknown error")) return end db = t |