Merge branch 'stable-2.15'

* stable-2.15:
  Update revision of commit-message-length-plugin
  Improve warning when starting Gerrit JVM without OOM protection
  EventUtil: Improve event bus error logging
  Warning when starting Gerrit JVM without OOM protection
  cmd-index.txt: Fix anchors
  Update revision of commit-message-length-validator plugin

Change-Id: Ia7ffc5961ff5c445f44c35ef1cd88ccdb2af8ab6
This commit is contained in:
David Pursehouse
2018-08-30 13:23:44 +09:00
2 changed files with 10 additions and 2 deletions

View File

@@ -121,8 +121,11 @@ public class EventUtil {
public void logEventListenerError(Object event, Object listener, Exception error) {
logger.atWarning().log(
"Error in event listener %s for event %s: %s",
listener.getClass().getName(), event.getClass().getName(), error.getMessage());
"Error in event listener %s for event %s: %s - %s",
listener.getClass().getName(),
event.getClass().getName(),
error.getClass().getName(),
error.getMessage());
logger.atFine().withCause(error).log(
"Cause of error in event listener %s:", listener.getClass().getName());
}