PropertySerialiser: remove logging for missing serialisers.

It's spammy when dealing with most structures in the save files.
This commit is contained in:
Guillaume Jacquemin 2022-11-24 10:45:37 +01:00
parent d0a3375d7a
commit 28eb40f6b4

View file

@ -160,7 +160,6 @@ auto PropertySerialiser::deserialise(Containers::String name, Containers::String
auto serialiser = getSerialiser(type);
if(serialiser == nullptr) {
LOG_ERROR_FORMAT("No valid serialiser found for property type {}.", type);
return nullptr;
}
@ -182,7 +181,6 @@ auto PropertySerialiser::serialise(UnrealPropertyBase::ptr& prop, Containers::St
{
auto serialiser = getSerialiser(item_type);
if(!serialiser) {
LOG_ERROR_FORMAT("No valid serialiser found for property type {}.", item_type);
return false;
}
return serialiser->serialise(prop, bytes_written, writer, *this);