diff options
-rw-r--r-- | container-core/src/main/java/com/yahoo/container/handler/LogHandler.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/handler/LogHandler.java b/container-core/src/main/java/com/yahoo/container/handler/LogHandler.java index 29528f9c23a..e3fe278751e 100644 --- a/container-core/src/main/java/com/yahoo/container/handler/LogHandler.java +++ b/container-core/src/main/java/com/yahoo/container/handler/LogHandler.java @@ -101,7 +101,9 @@ public class LogHandler extends ThreadedHttpRequestHandler { public void send(ByteBuffer src) throws IOException { try { stallWhilePendingAbove(maxPending); - } catch (InterruptedException e) {} + } catch (InterruptedException ignored) { + throw new IOException("Interrupted waiting for IO"); + } CompletionHandler pendingTracker = new TrackCompletition(src.remaining()); try { send(src, pendingTracker); |