diff --git a/pom.xml b/pom.xml
index d6db8c7..fa6bc89 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,10 +73,9 @@
eu.dnetlib
uoa-authorization-library
- 2.0.1
+ 2.0.3
-
diff --git a/src/main/java/eu/dnetlib/uoaadmintoolslibrary/handlers/AdminToolsLibraryExceptionsHandler.java b/src/main/java/eu/dnetlib/uoaadmintoolslibrary/handlers/AdminToolsLibraryExceptionsHandler.java
index 2c842ac..f57b9b3 100644
--- a/src/main/java/eu/dnetlib/uoaadmintoolslibrary/handlers/AdminToolsLibraryExceptionsHandler.java
+++ b/src/main/java/eu/dnetlib/uoaadmintoolslibrary/handlers/AdminToolsLibraryExceptionsHandler.java
@@ -33,7 +33,7 @@ public class AdminToolsLibraryExceptionsHandler {
response.setErrorMessage(ex.getMessage());
response.setErrors(ex.getMessage());
response.setStatus(HttpStatus.BAD_REQUEST);
- log.error("mismatchingContent exception" + response.getErrorCode()+ " "+response.getErrorMessage());
+ log.error("mismatchingContent exception: " + response.getErrorCode()+ " "+response.getErrorMessage());
return new ResponseEntity(response, HttpStatus.BAD_REQUEST);
}
@@ -44,7 +44,7 @@ public class AdminToolsLibraryExceptionsHandler {
response.setErrorMessage(ex.getMessage());
response.setErrors(ex.getMessage());
response.setStatus(HttpStatus.NOT_FOUND);
- log.error("contentNotFound exception" + response.getErrorCode()+ " "+response.getErrorMessage());
+ log.error("contentNotFound exception: " + response.getErrorCode()+ " "+response.getErrorMessage());
return new ResponseEntity(response, HttpStatus.NOT_FOUND);
}
@@ -89,7 +89,7 @@ public class AdminToolsLibraryExceptionsHandler {
response.setErrorMessage("Forbidden Exception");
response.setErrors(ex.getMessage());
response.setStatus(HttpStatus.FORBIDDEN);
- log.error("forbiddenException exception : "+ ex.getMessage());
+ log.error("forbiddenException exception: "+ ex.getMessage());
return new ResponseEntity(response, HttpStatus.FORBIDDEN);
}
@@ -100,7 +100,7 @@ public class AdminToolsLibraryExceptionsHandler {
response.setErrorMessage("DuplicateKey Exception");
response.setErrors(ex.getMessage());
response.setStatus(HttpStatus.INTERNAL_SERVER_ERROR);
- log.error("duplicateKeyException exception : "+ ex.getMessage());
+ log.error("duplicateKeyException exception: "+ ex.getMessage());
return new ResponseEntity(response, HttpStatus.INTERNAL_SERVER_ERROR);
}
}