class RecipeExecutionFailureCollector {

    protected String getRecipePhase(String message) {
        Matcher matcher = PHASE_PATTERN.matcher(message);
        if (matcher.matches()) {
            return matcher.group(1);
        }
        return "";
    }

}