summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-09-11 20:12:52 -0400
committerShadowNinja <shadowninja@minetest.net>2014-09-21 14:39:36 -0400
commitc061bdd37ff91a4dd6f837f618fa2f48350e1ae6 (patch)
tree0d60a9dfa4216b6bda8518b96f890b13cc8fb561 /src/inventory.cpp
parent6bc4cad0eddd7a7cf593ca1471599e2d75727379 (diff)
downloadminetest-c061bdd37ff91a4dd6f837f618fa2f48350e1ae6.tar.gz
minetest-c061bdd37ff91a4dd6f837f618fa2f48350e1ae6.tar.bz2
minetest-c061bdd37ff91a4dd6f837f618fa2f48350e1ae6.zip
Fix locking bugs and make inventory deserialization errors more specific
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 4b1beb230..4766524dd 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -938,7 +938,7 @@ void Inventory::deSerialize(std::istream &is)
}
else
{
- throw SerializationError("invalid inventory specifier");
+ throw SerializationError("invalid inventory specifier: " + name);
}
}
}