diff --git a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/ExecutionEventHandler.kt b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/ExecutionEventHandler.kt index 8aab8b4bbc0e472559f1d98abd3cfe6b335d03b5..e4e12b1e0e0ac889f7fc71840919d088ff2d852c 100644 --- a/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/ExecutionEventHandler.kt +++ b/theodolite/src/main/kotlin/rocks/theodolite/kubernetes/operator/ExecutionEventHandler.kt @@ -42,8 +42,9 @@ class ExecutionEventHandler( this.controller.stop(restart = true) } } - // TODO: Why does this not trigger additional warnings for uncatched exception? - else -> throw IllegalStateException("onAdd does not handle the current execution state ($currentState)") + else -> { + logger.info { "ExecutionEventHandler#onAdd(...) does not handle ExecutionState $currentState" } + } } }