From 0e9ba463f6c1b657be21d4a5c02f0fec33c05fe9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Tue, 4 Jan 2022 14:23:44 +0100
Subject: [PATCH] clean up

---
 .../src/main/kotlin/theodolite/benchmark/ActionCommand.kt       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt b/theodolite/src/main/kotlin/theodolite/benchmark/ActionCommand.kt
index 4387e6648..495c9951b 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) {
-- 
GitLab