diff options
author | 2015-02-07 00:40:26 +0000 | |
---|---|---|
committer | 2015-02-07 00:40:26 +0000 | |
commit | e95a80a381c8e2f3a44058a03e549d851c5e969c (patch) | |
tree | f3a76020782af61a69e303bf4394ecfc8a71ea34 /src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java | |
parent | a41a5032f8f256f42e4aa6293d6edd7177bc5fb7 (diff) |
When we log to [] instead of crashing on EventBus failures, also log exception to blaze.INFO. Otherwise, it's easy to miss the fact that there was an important failure.
--
MOS_MIGRATED_REVID=85760959
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java index 0251e83772..30c5daba4c 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java @@ -1041,6 +1041,7 @@ public final class BlazeRuntime { public static final class RemoteExceptionHandler implements SubscriberExceptionHandler { @Override public void handleException(Throwable exception, SubscriberExceptionContext context) { + LOG.log(Level.SEVERE, "Failure in EventBus subscriber", exception); LoggingUtil.logToRemote(Level.SEVERE, "Failure in EventBus subscriber.", exception); } } |