From 761dccd10cab55b375f708ce996dc7b2145808a9 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Wed, 8 Nov 2017 22:47:16 +0100 Subject: [PATCH] Now dumping also SelectionKeys that throw when accessed. --- .../src/main/java/org/eclipse/jetty/io/ManagedSelector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java index ec0bdb8b19e..6a15415790e 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java @@ -495,7 +495,7 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable } catch (Throwable x) { - LOG.ignore(x); + _dumps.add(String.format("SelectionKey@%x[%s]", key.hashCode(), x)); } } }