Skip to content

Commit b1a1a7e

Browse files
fix(clients): link to support/help center on unreachable hosts (generated)
algolia/api-clients-automation#5305 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 20b74a3 commit b1a1a7e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

algoliasearch/src/main/java/com/algolia/exceptions/AlgoliaRetryException.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ public class AlgoliaRetryException extends AlgoliaRuntimeException {
1212
private final List<Throwable> errors;
1313

1414
public AlgoliaRetryException(List<Throwable> errors) {
15-
super("Error(s) while processing the retry strategy", errors.get(errors.size() - 1));
15+
super(
16+
"Error(s) while processing the retry strategy. If the error persists, please visit our help" +
17+
" center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support" +
18+
" team: https://alg.li/support",
19+
errors.get(errors.size() - 1)
20+
);
1621
this.errors = errors;
1722
}
1823

0 commit comments

Comments
 (0)