mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 17:34:41 +00:00
Error Entity should be used
This commit is contained in:
parent
566c36b7f3
commit
0cac263947
@ -624,7 +624,7 @@ public abstract class EntityRepository<T extends EntityInterface> {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
parsedEntity = clearFieldsInternal(parsedEntity, fields);
|
parsedEntity = clearFieldsInternal(parsedEntity, fields);
|
||||||
String errorEntity = JsonUtils.pojoToJson(parsedEntity);
|
String errorEntity = JsonUtils.pojoToJson(parsedEntity);
|
||||||
LOG.error("Failed in Set Fields for Entity with Json : {}", JsonUtils.pojoToJson(errorEntity));
|
LOG.error("Failed in Set Fields for Entity with Json : {}", errorEntity);
|
||||||
errors.add(String.format("Error Message : %s , %n Entity Json : %s", e.getMessage(), errorEntity));
|
errors.add(String.format("Error Message : %s , %n Entity Json : %s", e.getMessage(), errorEntity));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user