Merge branch 'maint-rel-1.6' into develop
This commit is contained in:
commit
fb63559aa6
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ public abstract class JsonObjectProducer extends JsonProducer {
|
|||
try {
|
||||
jsonObject = process();
|
||||
} catch (Exception e) {
|
||||
log.error("Failed to create JSON response" + e);
|
||||
log.error("Failed to create JSON response", e);
|
||||
errorMessage = e.toString();
|
||||
resp.setStatus(500 /* HttpURLConnection.HTTP_SERVER_ERROR */);
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ public abstract class JsonProducer {
|
|||
VClass vclass = vreq.getWebappDaoFactory().getVClassDao()
|
||||
.getVClassByURI(uri);
|
||||
if (vclass == null) {
|
||||
log.error("Couldn't retrieve vclass ");
|
||||
log.error("Couldn't retrieve vclass '" + uri + "'");
|
||||
throw new IllegalStateException("Class " + uri + " not found");
|
||||
}
|
||||
return vclass;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue