mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
dstore - need to exit with a message if port already in use
This commit is contained in:
parent
16e20b8830
commit
1aa4c0a448
1 changed files with 2 additions and 0 deletions
|
@ -569,6 +569,8 @@ public class ServerLauncher extends Thread {
|
|||
} catch (Exception e) {
|
||||
// don't display exceptions 193426
|
||||
//e.printStackTrace();
|
||||
System.err.println(e.getMessage());
|
||||
System.exit(-1);
|
||||
}
|
||||
} else {
|
||||
_serverSocket = new ServerSocket(port);
|
||||
|
|
Loading…
Add table
Reference in a new issue