open-feature / ruby-sdk

Ruby implementation of the OpenFeature SDK
https://openfeature.dev
Apache License 2.0
21 stars 7 forks source link

Handle exception raised by providers #130

Open alxckn opened 3 months ago

alxckn commented 3 months ago

Follow-up from this conversation: https://github.com/open-feature/ruby-sdk-contrib/issues/22

In case a provider raises an exception, it should be rescued by the SDK's client and a ResolutionDetails with value set to default_value should be returned.