小区查询错误字段输出
This commit is contained in:
@@ -415,7 +415,7 @@ public abstract class AbstractMongoDao<E extends MongoEntity> extends AbstractJp
|
||||
try {
|
||||
writeMethod.invoke(entity, value);
|
||||
} catch (IllegalArgumentException e) {
|
||||
logger.error("Error set value to " + value + "[" + value.getClass() + "] of field "
|
||||
logger.error("["+key+"] Error set value to " + value + "[" + value.getClass() + "] of field "
|
||||
+ descriptor.getName() + "[" + descriptor.getPropertyType() + "], class:" + entity.getClass().getSimpleName());
|
||||
throw new RuntimeException("Error set value to " + value + "[" + value.getClass() + "] of field "
|
||||
+ descriptor.getName() + "[" + descriptor.getPropertyType() + "]", e);
|
||||
|
||||
Reference in New Issue
Block a user