diff --git a/src/main/kotlin/net/leanix/vsm/gitlab/broker/connector/runner/InitialStateRunner.kt b/src/main/kotlin/net/leanix/vsm/gitlab/broker/connector/runner/InitialStateRunner.kt index 2f9e5b4..5725def 100644 --- a/src/main/kotlin/net/leanix/vsm/gitlab/broker/connector/runner/InitialStateRunner.kt +++ b/src/main/kotlin/net/leanix/vsm/gitlab/broker/connector/runner/InitialStateRunner.kt @@ -40,9 +40,9 @@ class InitialStateRunner( runCatching { webhookService.registerWebhook() }.onSuccess { - logger.info("webhook registered successfully") + logger.info { "webhook registered successfully" } }.onFailure { - logger.info("webhook registration failed", it) + logger.error(it) { "webhook registration failed" } } } }