Skip to content

Commit 4dae188

Browse files
author
Artem Stasiuk
committed
Add more logging for autosubmit disabled
1 parent 5d1e391 commit 4dae188

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/amazon/jenkins/ec2fleet/EC2FleetAutoResubmitComputerLauncher.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ public void afterDisconnect(final SlaveComputer computer, final TaskListener lis
108108
+ " termination, resubmit finished");
109109
} else {
110110
LOGGER.log(LOG_LEVEL, "Unexpected " + computer.getDisplayName()
111-
+ " termination but resubmit disabled, no actions");
111+
+ " termination but resubmit disabled, no actions, disableTaskResubmit: "
112+
+ disableTaskResubmit + ", offline: " + computer.isOffline()
113+
+ ", offlineCause: " + (computer.getOfflineCause() != null ? computer.getOfflineCause().getClass() : "null"));
112114
}
113115

114116
// call parent

0 commit comments

Comments
 (0)