You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Total crash when ConfigurationManager can't be initialized #326
This method
public static T GetAppSetting(string key, T defaultValue, DataverseTraceLogger logSink = null)
has catch { ... } section
But method
public static TimeSpan GetAppSettingTimeSpan(string key , TimeSpanFromKey format , TimeSpan defaultValue, DataverseTraceLogger logSink = null)
doesn't have catch { ... } section and when ConfigurationManager raise an Exception then Microsoft.PowerPlatform.Dataverse.Client.ServiceClient will crash when trying to initialize this property:
Activity
Update AppSettingsHelper.cs
MattB-msft commentedon Oct 21, 2022
matkov - Thanks for your contribution!, We will accept this PR into our primary repository and close this when completed.
SyncUp to Main Build Branch