Skip to content

Commit cc5d7e5

Browse files
fix: attach original exception when throwing a general error (#247)
Signed-off-by: Thomas Poignant <[email protected]>
1 parent ab6f3b0 commit cc5d7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/go-feature-flag/src/main/java/dev/openfeature/contrib/providers/gofeatureflag/GoFeatureFlagProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ private <T> ProviderEvaluation<T> resolveEvaluationGoFeatureFlagProxy(
221221

222222
}
223223
} catch (IOException e) {
224-
throw new GeneralError("unknown error while retrieving flag " + key);
224+
throw new GeneralError("unknown error while retrieving flag " + key, e);
225225
}
226226
}
227227

0 commit comments

Comments
 (0)