diff --git a/fullstack-helm-client/src/main/java/com/hedera/fullstack/helm/client/execution/HelmExecution.java b/fullstack-helm-client/src/main/java/com/hedera/fullstack/helm/client/execution/HelmExecution.java index 405896200..c5748bb77 100644 --- a/fullstack-helm-client/src/main/java/com/hedera/fullstack/helm/client/execution/HelmExecution.java +++ b/fullstack-helm-client/src/main/java/com/hedera/fullstack/helm/client/execution/HelmExecution.java @@ -218,7 +218,9 @@ public T responseAs(final Class responseClass, final Duration timeout) { } if (exitCode() != 0) { - throw new HelmExecutionException(exitCode()); + throw new HelmExecutionException(exitCode(), + StreamUtils.streamToString(suppressExceptions(this::standardOutput)), + StreamUtils.streamToString(suppressExceptions(this::standardError))); } final String standardOutput = StreamUtils.streamToString(suppressExceptions(this::standardOutput));