Fixed error message on exception

This commit is contained in:
Luca Frosini 2021-07-07 19:15:13 +02:00
parent 4ec7d40f7b
commit 5b97c45a4c
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ public abstract class EntityManagement<E extends Entity, ET extends EntityType>
try {
element = ElementManagementUtility.getAnyElementByUUID(oDatabaseDocument, referenceUUID);
}catch (ResourceRegistryException e) {
String error = String.format("No instace with UUID % exists", referenceUUID);
String error = String.format("No instace with UUID %s exists", referenceUUID.toString());
throw new InvalidQueryException(error);
}