diff --git a/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt b/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt index 4387e66489b26a3c323113dd35d97d43c95567b4..495c9951bf8548d005d7911bab83c1d94a934ea2 100644 --- a/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt +++ b/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt @@ -141,7 +141,7 @@ class ActionCommand(val client: NamespacedKubernetesClient) { override fun onFailure(throwable: Throwable, response: Response) { execLatch.countDown() - throw ActionCommandFailedException("Some error encountered while executing action: ${throwable.printStackTrace()}") + throw ActionCommandFailedException("Some error encountered while executing action.", throwable) } override fun onClose(code: Int, reason: String) {