mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-09 05:48:20 +00:00
Added logging for unsupported field types
This commit is contained in:
parent
4177bdcd43
commit
2fe4eedc4b
@ -185,6 +185,8 @@ public class DbAdmin {
|
|||||||
field.setSchema(schema);
|
field.setSchema(schema);
|
||||||
schema.addField(field);
|
schema.addField(field);
|
||||||
} catch (UnsupportedFieldTypeException e) {
|
} catch (UnsupportedFieldTypeException e) {
|
||||||
|
logger.warn("The class " + klass.getSimpleName() + " contains the field `"
|
||||||
|
+ f.getName() + "` of type `" + f.getType().getSimpleName() + "`, which is not supported");
|
||||||
schema.addError(
|
schema.addError(
|
||||||
new MappingError(
|
new MappingError(
|
||||||
"The class contains the field `" + f.getName() + "` of type `" + f.getType().getSimpleName() + "`, which is not supported"
|
"The class contains the field `" + f.getName() + "` of type `" + f.getType().getSimpleName() + "`, which is not supported"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user