diff --git a/src/freenet/io/comm/UdpSocketHandler.java b/src/freenet/io/comm/UdpSocketHandler.java index 42c5d065b5..a6602a5caf 100644 --- a/src/freenet/io/comm/UdpSocketHandler.java +++ b/src/freenet/io/comm/UdpSocketHandler.java @@ -101,7 +101,7 @@ private static int getFd(DatagramChannel channel) { Field fdVal = channel.getClass().getDeclaredField("fdVal"); return theUnsafe.getInt(channel, theUnsafe.objectFieldOffset(fdVal)); } catch (Exception e) { - Logger.error(UdpSocketHandler.class, e.getMessage(), e); + Logger.warning(UdpSocketHandler.class, e.getMessage(), e); return -1; } }