catch Throwable instead of Exception in LoggingRunnable.run

This commit is contained in:
Michael McCandless 2015-09-22 11:36:16 -04:00 committed by mikemccand
parent 4d47015a0c
commit de8eadab93
1 changed files with 2 additions and 2 deletions

View File

@ -511,8 +511,8 @@ public class ThreadPool extends AbstractComponent {
public void run() {
try {
runnable.run();
} catch (Exception e) {
logger.warn("failed to run {}", e, runnable.toString());
} catch (Throwable t) {
logger.warn("failed to run {}", t, runnable.toString());
}
}