diff --git a/Sources/EmbraceConfigInternal/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcher.swift b/Sources/EmbraceConfigInternal/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcher.swift index 63b4df1b..abfc27d6 100644 --- a/Sources/EmbraceConfigInternal/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcher.swift +++ b/Sources/EmbraceConfigInternal/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcher.swift @@ -62,7 +62,7 @@ class RemoteConfigFetcher { completion(payload) } catch { self?.logger.error("Error decoding remote config:\n\(error.localizedDescription)") - // If it's a decoding issue, rather than returnin `nil`, we provide the default `RemoteConfigPayload`. + // if a decoding issue happens, instead of returning `nil`, we provide a default `RemoteConfigPayload` completion(RemoteConfigPayload()) } }