mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-08 21:38:21 +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);
|
||||
schema.addField(field);
|
||||
} 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(
|
||||
new MappingError(
|
||||
"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