mirror of
https://github.com/processing/processing4.git
synced 2026-01-27 10:21:26 +01:00
Merge pull request #2474 from kfeuz/Issue74
Catch SocketException separately and report
This commit is contained in:
@@ -265,6 +265,10 @@ public class Server implements Runnable {
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (SocketException e) {
|
||||
//thrown when server.close() is called and server is waiting on accept
|
||||
System.err.println("Server SocketException: " + e.getMessage());
|
||||
thread = null;
|
||||
} catch (IOException e) {
|
||||
//errorMessage("run", e);
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user