Skip to content

Commit fea7a98

Browse files
committed
feat: include arangodb manager
Signed-off-by: Otavio Santana <[email protected]>
1 parent 6fe43f4 commit fea7a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jnosql-arangodb/src/main/java/org/eclipse/jnosql/databases/arangodb/communication/DefaultArangoDBDocumentManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public CommunicationEntity update(CommunicationEntity entity) {
8080
Optional<String> keyElement = entity.find(KEY, String.class);
8181
Optional<String> idElement = entity.find(ID, String.class);
8282
if (keyElement.isEmpty() && idElement.isEmpty()) {
83-
throw new IllegalArgumentException("The entity requires either key or id");
83+
throw new IllegalArgumentException("To update an entity is necessary to have either " + KEY + " or " + ID);
8484
}
8585
var key = keyElement.orElseGet(() -> {
8686
String id = idElement.orElseThrow();

0 commit comments

Comments
 (0)