mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-30 14:43:49 +01:00
Adds more detail on deserialization error case in console.
This commit is contained in:
parent
3f54af1dd4
commit
466aa9ff47
@ -249,6 +249,9 @@ public class YamlDatabaseHandler<T> extends AbstractDatabaseHandler<T> {
|
|||||||
method.invoke(instance, setTo);
|
method.invoke(instance, setTo);
|
||||||
} else {
|
} else {
|
||||||
plugin.logError("Default setting value will be used: " + propertyDescriptor.getReadMethod().invoke(instance));
|
plugin.logError("Default setting value will be used: " + propertyDescriptor.getReadMethod().invoke(instance));
|
||||||
|
plugin.logError(method.getName());
|
||||||
|
plugin.logError(propertyDescriptor.getReadMethod().getName());
|
||||||
|
plugin.logError(instance.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user