提交 fb311c68 编写于 作者: J Jesse Glick

Suppress a meaningless ClosedChannelException thrown by Jetty when killing a client.

上级 03aa2a1f
......@@ -32,6 +32,7 @@ import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.ReadPendingException;
import java.util.logging.Level;
import java.util.logging.Logger;
......@@ -132,6 +133,8 @@ class PlainCLIProtocol {
IOUtils.skipFully(dis, framelen);
}
}
} catch (ClosedChannelException x) {
LOGGER.log(Level.FINE, null, x);
} catch (IOException x) {
LOGGER.log(Level.WARNING, null, flightRecorder.analyzeCrash(x, "broken stream"));
} catch (ReadPendingException x) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册