This commit is contained in:
Andrea Cavalli 2022-01-29 17:44:49 +01:00
parent 7067e1a65e
commit 0327638e0d

View File

@ -109,7 +109,7 @@ public class RestApi {
log.error("Malformed update", e.getCause());;
return Response
.status(Status.BAD_REQUEST)
.entity(e.getCause() == null ? "" : e.getCause().getMessage())
.entity(e.getCause() == null ? "" : e.getCause().toString())
.type(MediaType.TEXT_PLAIN)
.build();
}