Skip to content

Commit 37d8155

Browse files
committed
fixup! feat: add support for setting resolve timeout
1 parent a2600fb commit 37d8155

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

confidence/openfeature_provider.py

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ def _to_openfeature_error_code(
8585
return openfeature.exception.ErrorCode.GENERAL
8686
if error_code is ErrorCode.PARSE_ERROR:
8787
return openfeature.exception.ErrorCode.PARSE_ERROR
88+
if error_code is ErrorCode.TIMEOUT:
89+
return openfeature.exception.ErrorCode.GENERAL
8890
if error_code is ErrorCode.NOT_READY:
8991
return openfeature.exception.ErrorCode.PROVIDER_NOT_READY
9092

0 commit comments

Comments
 (0)