Improving error messages from ContextNodeFields and PagedSearchController
This commit is contained in:
parent
8eaba019a6
commit
bb6a256be3
2 changed files with 3 additions and 3 deletions
|
@ -228,7 +228,7 @@ public class PagedSearchController extends FreemarkerHttpServlet {
|
||||||
Map<String, Object> body = new HashMap<String, Object>();
|
Map<String, Object> body = new HashMap<String, Object>();
|
||||||
|
|
||||||
String classGroupParam = vreq.getParameter(PARAM_CLASSGROUP);
|
String classGroupParam = vreq.getParameter(PARAM_CLASSGROUP);
|
||||||
log.debug("Query text is \""+ classGroupParam + "\"");
|
log.debug("ClassGroupParam is \""+ classGroupParam + "\"");
|
||||||
boolean classGroupFilterRequested = false;
|
boolean classGroupFilterRequested = false;
|
||||||
if (!StringUtils.isEmpty(classGroupParam)) {
|
if (!StringUtils.isEmpty(classGroupParam)) {
|
||||||
VClassGroup grp = grpDao.getGroupByURI(classGroupParam);
|
VClassGroup grp = grpDao.getGroupByURI(classGroupParam);
|
||||||
|
|
|
@ -99,8 +99,8 @@ public class ContextNodeFields implements DocumentModifier{
|
||||||
}
|
}
|
||||||
|
|
||||||
}catch(Throwable t){
|
}catch(Throwable t){
|
||||||
if( ! shutdown )
|
if( ! shutdown )
|
||||||
log.error(t,t);
|
log.error("problem while running query '" + subInUriQuery + "'",t);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(log.isDebugEnabled()){
|
if(log.isDebugEnabled()){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue