diff options
author | Simon Rettberg | 2017-05-03 12:34:34 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-03 12:34:34 +0200 |
commit | e2b6201e8f187533d0ef48bedbf4e0f21f4dcedb (patch) | |
tree | 0b306814ad96eab5b7c4569f0fe05b25987cafd7 | |
parent | Implement global image exchange with satellite servers (diff) | |
download | masterserver-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.java | 2 |
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; |