diff --git a/theodolite-quarkus/src/main/kotlin/theodolite/YamlLoader.kt b/theodolite-quarkus/src/main/kotlin/theodolite/YamlLoader.kt index a031f805ff0ad4514df9a6b35a45fd0144729a9d..ef3d16c32525a85f41ff8e8ee204e4101f4f3678 100644 --- a/theodolite-quarkus/src/main/kotlin/theodolite/YamlLoader.kt +++ b/theodolite-quarkus/src/main/kotlin/theodolite/YamlLoader.kt @@ -2,6 +2,8 @@ package theodolite import io.fabric8.kubernetes.api.model.Service import io.fabric8.kubernetes.client.NamespacedKubernetesClient +import mu.KotlinLogging +private val logger = KotlinLogging.logger {} class YamlLoader(client: NamespacedKubernetesClient) { var client = client @@ -13,6 +15,8 @@ class YamlLoader(client: NamespacedKubernetesClient) { try { service = client.services().load(path).get() }catch (e : Exception){ + logger.info("You potentially misspeled the path: $path") + logger.info("$e") } return service