diff options
Diffstat (limited to 'xban2')
-rw-r--r-- | xban2/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xban2/init.lua b/xban2/init.lua index d8b20e7..b3c42a6 100644 --- a/xban2/init.lua +++ b/xban2/init.lua @@ -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 |