Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: run error hooks if provider returns FlagResolutionDetails with non-empty error_code #291

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

federicobond
Copy link
Member

No description provided.

Copy link

codecov bot commented Mar 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.19%. Comparing base (3f336b3) to head (c0ae21e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #291      +/-   ##
==========================================
+ Coverage   94.06%   94.19%   +0.12%     
==========================================
  Files          18       18              
  Lines         539      551      +12     
==========================================
+ Hits          507      519      +12     
  Misses         32       32              
Flag Coverage Δ
unittests 94.19% <100.00%> (+0.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…on-empty error_code

Signed-off-by: Federico Bond <federicobond@gmail.com>
openfeature/exception.py Outdated Show resolved Hide resolved
@toddbaert toddbaert added the contribfest A good issue for Contribfest KubeCon EU '24 label Mar 11, 2024
Signed-off-by: Federico Bond <federicobond@gmail.com>
@federicobond federicobond merged commit e747544 into open-feature:main Mar 13, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribfest A good issue for Contribfest KubeCon EU '24
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure error hooks are run when provider returns FlagResolutionDetails with error code
3 participants