diff --git a/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt b/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt index ff5e769d6074f4c2c94da3b5b84a704eaa5be2cd..55736c8e1435aaf258b89ee02f5abc0d46a7772d 100644 --- a/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt +++ b/theodolite/src/main/kotlin/theodolite/execution/operator/TheodoliteController.kt @@ -109,8 +109,7 @@ class TheodoliteController( type = "WARNING", 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.printStackTrace() }}" } + logger.error(e) { "Failure while executing execution ${execution.name} with benchmark ${benchmark.name}." } executionStateHandler.setExecutionState(execution.name, ExecutionStates.FAILURE) } executionStateHandler.stopDurationStateTimer()