Improving error messages from ContextNodeFields and PagedSearchController

This commit is contained in:
Brian Caruso 2013-10-03 16:14:54 -04:00
parent 8eaba019a6
commit bb6a256be3
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -100,7 +100,7 @@ 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()){