mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 04:55:22 +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) {
|
} catch (Exception e) {
|
||||||
// don't display exceptions 193426
|
// don't display exceptions 193426
|
||||||
//e.printStackTrace();
|
//e.printStackTrace();
|
||||||
|
System.err.println(e.getMessage());
|
||||||
|
System.exit(-1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
_serverSocket = new ServerSocket(port);
|
_serverSocket = new ServerSocket(port);
|
||||||
|
|
Loading…
Add table
Reference in a new issue