summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2017-05-03 12:34:34 +0200
committerSimon Rettberg2017-05-03 12:34:34 +0200
commite2b6201e8f187533d0ef48bedbf4e0f21f4dcedb (patch)
tree0b306814ad96eab5b7c4569f0fe05b25987cafd7
parentImplement global image exchange with satellite servers (diff)
downloadmasterserver-e2b6201e8f187533d0ef48bedbf4e0f21f4dcedb.tar.gz
masterserver-e2b6201e8f187533d0ef48bedbf4e0f21f4dcedb.tar.xz
masterserver-e2b6201e8f187533d0ef48bedbf4e0f21f4dcedb.zip
Fix ccaught exception (broken on newer java)
-rw-r--r--src/main/java/org/openslx/imagemaster/localrpc/NetworkHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/imagemaster/localrpc/NetworkHandler.java b/src/main/java/org/openslx/imagemaster/localrpc/NetworkHandler.java
index 7223435..5caeab3 100644
--- a/src/main/java/org/openslx/imagemaster/localrpc/NetworkHandler.java
+++ b/src/main/java/org/openslx/imagemaster/localrpc/NetworkHandler.java
@@ -71,7 +71,7 @@ public class NetworkHandler implements Runnable
final DatagramPacket packet;
try {
packet = new DatagramPacket( buffer, buffer.length, destination );
- } catch ( SocketException e ) {
+ } catch ( Exception e ) {
log.warn( "Could not construct datagram packet for target " + destination.toString() );
e.printStackTrace();
return;