EventFactory: Log exception when getting commit message fails
Without the stacktrace the error log is not very useful. Change-Id: I29688404e51f999bc06c6ec47b2de5bd1a6e238d Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -158,7 +158,7 @@ public class EventFactory {
|
||||
try {
|
||||
a.commitMessage = changeDataFactory.create(db, change).commitMessage();
|
||||
} catch (Exception e) {
|
||||
log.error("Error while getting full commit message for change " + a.number);
|
||||
log.error("Error while getting full commit message for change " + a.number, e);
|
||||
}
|
||||
a.url = getChangeUrl(change);
|
||||
a.owner = asAccountAttribute(change.getOwner());
|
||||
|
||||
Reference in New Issue
Block a user