When logging an exception, log the stack trace as well.

This commit is contained in:
jeb228 2011-01-27 15:32:31 +00:00
parent d982007d98
commit f33d0eac83

View file

@ -270,7 +270,7 @@ public class AutocompleteController extends FreemarkerHttpServlet{
log.debug("Name query is: " + boolQuery.toString());
} catch (ParseException e) {
log.warn(e);
log.warn(e, e);
}