mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
Further toning down the error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17575 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
34b5737ee7
commit
a540ed2249
1 file changed
+5
@@ -28,6 +28,7 @@ import hudson.model.Hudson;
|
||||
import java.io.IOException;
|
||||
import java.net.InetSocketAddress;
|
||||
import java.net.SocketAddress;
|
||||
import java.net.BindException;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.channels.ClosedByInterruptException;
|
||||
import java.nio.channels.DatagramChannel;
|
||||
@@ -80,6 +81,10 @@ public class UDPBroadcastThread extends Thread {
|
||||
}
|
||||
} catch (ClosedByInterruptException e) {
|
||||
// shut down
|
||||
} catch (BindException e) {
|
||||
// if we failed to listen to UDP, just silently abandon it, as a stack trace
|
||||
// makes people unnecessarily concerned, for a feature that currently does no good.
|
||||
LOGGER.log(Level.FINE, "Failed to listen to UDP port "+PORT,e);
|
||||
} catch (IOException e) {
|
||||
LOGGER.log(Level.WARNING, "UDP handling problem",e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user