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>();
|
||||
|
||||
String classGroupParam = vreq.getParameter(PARAM_CLASSGROUP);
|
||||
log.debug("Query text is \""+ classGroupParam + "\"");
|
||||
log.debug("ClassGroupParam is \""+ classGroupParam + "\"");
|
||||
boolean classGroupFilterRequested = false;
|
||||
if (!StringUtils.isEmpty(classGroupParam)) {
|
||||
VClassGroup grp = grpDao.getGroupByURI(classGroupParam);
|
||||
|
|
|
@ -100,7 +100,7 @@ public class ContextNodeFields implements DocumentModifier{
|
|||
|
||||
}catch(Throwable t){
|
||||
if( ! shutdown )
|
||||
log.error(t,t);
|
||||
log.error("problem while running query '" + subInUriQuery + "'",t);
|
||||
}
|
||||
|
||||
if(log.isDebugEnabled()){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue