mirror of https://github.com/apache/cloudstack.git
Added return statement to stop start() if there has been an ConnectException.
This commit is contained in:
parent
9693b97c21
commit
b34f86c8d5
|
|
@ -88,6 +88,7 @@ public abstract class NioConnection implements Callable<Boolean> {
|
|||
init();
|
||||
} catch (final ConnectException e) {
|
||||
s_logger.warn("Unable to connect to remote: is there a server running on port " + _port);
|
||||
return;
|
||||
} catch (final IOException e) {
|
||||
s_logger.error("Unable to initialize the threads.", e);
|
||||
throw new NioConnectionException(e.getMessage(), e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue