Skip to content

Commit

Permalink
Re-enable custom stages
Browse files Browse the repository at this point in the history
  • Loading branch information
tboeghk committed Feb 6, 2025
1 parent b2bdedb commit 897514e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
Expand Down Expand Up @@ -728,8 +729,7 @@ private static String stageInEnglish(int nextStage) {
case STAGE_DONE:
return "FINISHING";
default:
throw new SolrException(
SolrException.ErrorCode.SERVER_ERROR, "Unrecognized stage:" + nextStage);
return String.format(Locale.ROOT, "CUSTOM (%s)", nextStage);
}
}

Expand Down

0 comments on commit 897514e

Please sign in to comment.