Fix locking bugs and make inventory deserialization errors more specific
This commit is contained in:
@@ -938,7 +938,7 @@ void Inventory::deSerialize(std::istream &is)
|
||||
}
|
||||
else
|
||||
{
|
||||
throw SerializationError("invalid inventory specifier");
|
||||
throw SerializationError("invalid inventory specifier: " + name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user