diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-04-28 17:56:14 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-04-28 17:56:14 +0200 |
commit | e884e3118b4fa3acc8d768707aa52cbf3d6faa85 (patch) | |
tree | e9bfb913a4fc0251bbc7ed80d44cc9f6514b93b3 | |
parent | f2ce630d82a7edf934dbe9e523507aa4e3c58693 (diff) |
Also ignore checked exceptions
-rw-r--r-- | jdisc_core/src/main/java/com/yahoo/jdisc/core/TimeoutManagerImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/core/TimeoutManagerImpl.java b/jdisc_core/src/main/java/com/yahoo/jdisc/core/TimeoutManagerImpl.java index a2952087da3..7a3898b2946 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/core/TimeoutManagerImpl.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/core/TimeoutManagerImpl.java @@ -78,7 +78,7 @@ public class TimeoutManagerImpl { private void invokeTimeout(RequestHandler requestHandler, Request request, ResponseHandler responseHandler) { try { requestHandler.handleTimeout(request, responseHandler); - } catch (RuntimeException e) { + } catch (Exception e) { log.log(Level.WARNING, "Ignoring exception thrown by " + requestHandler.getClass().getName() + " in timeout manager.", e); } |