From fc9af6cb98034e320a0d68dd6a18817cfa659333 Mon Sep 17 00:00:00 2001 From: Nihal Mirpuri Date: Fri, 26 Jan 2024 14:03:36 +0000 Subject: [PATCH] fix for config not correctly printing (#83) --- src/main/scala/configuration/ConfigurationUtils.scala | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/scala/configuration/ConfigurationUtils.scala b/src/main/scala/configuration/ConfigurationUtils.scala index 3dd7bb0..d25ffd3 100644 --- a/src/main/scala/configuration/ConfigurationUtils.scala +++ b/src/main/scala/configuration/ConfigurationUtils.scala @@ -63,8 +63,10 @@ object ConfigurationUtils { ) ) - logger.info(s"Configuration read by Watchlistarr: $config") - config + config.map { c => + logger.info(s"Configuration read by Watchlistarr: $c") + c + } } private def getSonarrConfig(configReader: ConfigurationReader, client: HttpClient): IO[(Uri, String, Int, String, Int)] = {