Mercurial > dive4elements > framework
changeset 555:408fd2cb7bb5
Added error message with create exception
author | mschaefer |
---|---|
date | Thu, 14 Jun 2018 15:30:53 +0200 |
parents | 673d3bf7eb11 |
children | 5e487570d855 ccd029fbc084 |
files | artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/CreateResource.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/CreateResource.java Wed Jun 13 15:36:06 2018 +0200 +++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/rest/CreateResource.java Thu Jun 14 15:30:53 2018 +0200 @@ -105,6 +105,7 @@ inputDocument)); } catch (ArtifactDatabaseException adbe) { + logger.error("Create artifact failed", adbe); Response response = getResponse(); response.setStatus( Status.CLIENT_ERROR_UNPROCESSABLE_ENTITY, adbe.getMessage());