Log exception stack trace when project watch evaluation fails

Change-Id: I96f1c5071aec44f47c20d76c38dcb15c595e35a4
This commit is contained in:
Dave Borowitz
2013-09-12 15:22:40 -07:00
parent dc31f103b0
commit ac990d89c8

View File

@@ -88,9 +88,9 @@ public class ProjectWatch {
add(matching, nc, state.getProject().getNameKey());
} catch (QueryParseException e) {
log.warn(String.format(
"Project %s has invalid notify %s filter \"%s\": %s",
"Project %s has invalid notify %s filter \"%s\"",
state.getProject().getName(), nc.getName(),
nc.getFilter(), e.getMessage()));
nc.getFilter()), e);
}
}
}