View | Details | Raw Unified | Return to bug 28736
Collapse All | Expand All

(-)a/Koha/SearchEngine/Elasticsearch.pm (-2 / +1 lines)
Lines 1218-1224 sub process_error { Link Here
1218
    warn $msg; # simple logging
1218
    warn $msg; # simple logging
1219
1219
1220
    # This is super-primitive
1220
    # This is super-primitive
1221
    return "Unable to understand your search query, please rephrase and try again.\n" if $msg =~ /ParseException/;
1221
    return "Unable to understand your search query, please rephrase and try again.\n" if $msg =~ /ParseException|parse_exception/;
1222
1222
1223
    return "Unable to perform your search. Please try again.\n";
1223
    return "Unable to perform your search. Please try again.\n";
1224
}
1224
}
1225
- 

Return to bug 28736