Skip to content
Snippets Groups Projects
Commit d4b4a9a9 authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

catch exceptions in the correct order

parent 2cd22576
No related branches found
No related tags found
1 merge request!175Throw exception in order to set the execution states of an execution correctly
......@@ -53,11 +53,10 @@ class TheodoliteStandalone {
try {
TheodoliteExecutor(benchmarkExecution, benchmark).run()
}catch (e: ExecutionFailedException) {
logger.error { "Execution failed with error: ${e.message}" }
} catch (e: EvaluationFailedException) {
logger.error { "Evaluation failed with error: ${e.message}" }
}catch (e: ExecutionFailedException) {
logger.error { "Execution failed with error: ${e.message}" }
}
logger.info { "Theodolite finished" }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment