catch Throwable instead of Exception in LoggingRunnable.run
This commit is contained in:
parent
4d47015a0c
commit
de8eadab93
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue