Skip to content

Commit d0545c1

Browse files
Update src/main/java/io/split/openfeature/SplitProvider.java
Co-authored-by: nmayorsplit <104373752+nmayorsplit@users.noreply.github.com>
1 parent 6316d66 commit d0545c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/split/openfeature/SplitProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private <T> ProviderEvaluation<T> getEvaluation(
124124
} catch (OpenFeatureError e) {
125125
throw e;
126126
} catch (Exception e) {
127-
throw new GeneralError("Error getting " + typeLabel + " evaluation", e);
127+
throw new GeneralError(String.format("Error getting %s evaluation", typeLabel), e);
128128
}
129129
}
130130

0 commit comments

Comments
 (0)