Add log warning when subsciption for component configs fails.
@@ -77,7 +77,13 @@ final class ConfigRetriever(bootstrapKeys: Set[ConfigKeyT],
componentSubscriber.close()
componentSubscriberKeys = keys
+ try {
componentSubscriber = subscribe(keys)
+ } catch {
+ case e: Throwable =>
+ log.warning(s"Could not set up subscriptions for component configs: ${e.getMessage} - Config keys: $keys")
+ throw e
+ }
}
}
