Merge branch 'maint-rel-1.6' into develop

This commit is contained in:
j2blake 2014-01-15 16:43:59 -05:00
commit fb63559aa6
2 changed files with 2 additions and 2 deletions

View file

@ -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 */);
}

View file

@ -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;