Bugfix
This commit is contained in:
parent
7067e1a65e
commit
0327638e0d
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user