Skip to content

Commit 8c23c25

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 9c2da3b commit 8c23c25

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/algolia/transport/transport.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,12 @@ def request(call_type, method, path, body, opts = {})
8585
end
8686
end
8787

88-
raise Algolia::AlgoliaUnreachableHostError.new("Unreachable hosts.", retry_errors)
88+
raise(
89+
Algolia::AlgoliaUnreachableHostError.new(
90+
"Unreachable hosts. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support",
91+
retry_errors
92+
)
93+
)
8994
end
9095

9196
private

0 commit comments

Comments
 (0)