From 96c3e7d056326838e7cdbe6bdf9172a3624e238a Mon Sep 17 00:00:00 2001
From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de>
Date: Wed, 8 Dec 2021 00:45:40 +0100
Subject: [PATCH] Enhance logging

---
 .../theodolite/execution/operator/TheodoliteController.kt       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt b/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt
index 3bff0a403..e6fb2eada 100644
--- a/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt
+++ b/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt
@@ -111,7 +111,7 @@ class TheodoliteController(
                 reason = "Execution failed",
                 message = "An error occurs while executing:  ${e.message}")
             logger.error { "Failure while executing execution ${execution.name} with benchmark ${benchmark.name}." }
-            logger.error { "Problem is: $e" }
+            logger.error { "Problem is: ${e.printStackTrace() }}" }
             executionStateHandler.setExecutionState(execution.name, ExecutionStates.FAILURE)
         }
         executionStateHandler.stopDurationStateTimer()
-- 
GitLab