Skip to content

Commit 61de241

Browse files
committed
dont log an error if they are offline.
1 parent 7f04fc9 commit 61de241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/sdk/server/src/LdClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public LdClient(Configuration config)
137137
_log.Info("Starting LaunchDarkly client {0}",
138138
AssemblyVersions.GetAssemblyVersionStringForType(typeof(LdClient)));
139139

140-
if (_configuration.SdkKey == null)
140+
if (_configuration.SdkKey == null && !_configuration.offline)
141141
{
142142
_log.Error("The SDK key provided is invalid.");
143143
}

0 commit comments

Comments
 (0)