Skip to content

Commit f58762b

Browse files
Update src/main/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/ContainerExecProc.java
Co-authored-by: Jesse Glick <[email protected]>
1 parent b82bd2b commit f58762b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/ContainerExecProc.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ public int join() throws IOException, InterruptedException {
107107
printStream.printf("ExecutionException occurred while waiting for exit code: %s%n", e.getCause());
108108
return -1;
109109
} catch (Exception e) {
110-
LOGGER.log(Level.FINEST, "Exception occurred while waiting for exit code", e.getCause());
111-
printStream.printf("Exception occurred while waiting for exit code: %s: %s%n", e.getClass(), e.getCause());
110+
LOGGER.log(Level.FINEST, "Exception occurred while waiting for exit code", e);
111+
printStream.printf("Exception occurred while waiting for exit code: %s%n", e);
112112
return -1;
113113
} finally {
114114
close();

0 commit comments

Comments
 (0)