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
Currently, the provider will throw a FormatException when processing feature flags with an invalid JSON format. However, the TryRefreshAsync method and startup do not properly handle this exception and will cause the provider to fail when an invalid feature flag is loaded. It should instead catch the exception and return false, as it does for all other known exceptions.
The text was updated successfully, but these errors were encountered:
amerjusupovic
changed the title
Handle exceptions thrown for invalid feature flags on refresh
Handle exceptions thrown for invalid feature flags
Apr 23, 2024
Currently, the provider will throw a
FormatException
when processing feature flags with an invalid JSON format. However, theTryRefreshAsync
method and startup do not properly handle this exception and will cause the provider to fail when an invalid feature flag is loaded. It should instead catch the exception and return false, as it does for all other known exceptions.The text was updated successfully, but these errors were encountered: