Skip to content

Commit

Permalink
More generic error text
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant committed Jul 17, 2023
1 parent 9077751 commit a60644a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ public void compareFlagEvaluationDetails(){
.reason(Reason.ERROR.toString())
.value(false)
.errorCode(ErrorCode.GENERAL)
.errorMessage("impossible to contact GO Feature Flag relay proxy instance")
.errorMessage("error XXX")
.flagMetadata(ImmutableMetadata.builder().addString("metadata","1").build())
.build();

FlagEvaluationDetails fed2 = FlagEvaluationDetails.builder()
.reason(Reason.ERROR.toString())
.value(false)
.errorCode(ErrorCode.GENERAL)
.errorMessage("impossible to contact GO Feature Flag relay proxy instance")
.errorMessage("error XXX")
.flagMetadata(ImmutableMetadata.builder().addString("metadata","1").build())
.build();

Expand Down

0 comments on commit a60644a

Please sign in to comment.