Skip to content

Commit f313fac

Browse files
committed
Merge release branch 4.8 to master
* 4.8: Additional exception logging for Cloudstack-9285
2 parents d1def0a + ece5e70 commit f313fac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

agent/src/com/cloud/agent/Agent.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ public void start() {
227227
try {
228228
_connection.start();
229229
} catch (final NioConnectionException e) {
230+
s_logger.warn("NIO Connection Exception " + e);
230231
s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again...");
231232
}
232233
while (!_connection.isStartup()) {
@@ -235,6 +236,7 @@ public void start() {
235236
try {
236237
_connection.start();
237238
} catch (final NioConnectionException e) {
239+
s_logger.warn("NIO Connection Exception " + e);
238240
s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again...");
239241
}
240242
}
@@ -412,6 +414,7 @@ protected void reconnect(final Link link) {
412414
try {
413415
_connection.start();
414416
} catch (final NioConnectionException e) {
417+
s_logger.warn("NIO Connection Exception " + e);
415418
s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again...");
416419
}
417420
_shell.getBackoffAlgorithm().waitBeforeRetry();

0 commit comments

Comments
 (0)