diff --git a/packages/transporter/src/__tests__/integration/with-hosts-cache-drivers.test.ts b/packages/transporter/src/__tests__/integration/with-hosts-cache-drivers.test.ts index 8b56671f1..db77159e3 100644 --- a/packages/transporter/src/__tests__/integration/with-hosts-cache-drivers.test.ts +++ b/packages/transporter/src/__tests__/integration/with-hosts-cache-drivers.test.ts @@ -63,7 +63,7 @@ describe('hosts cache integration with cache drivers', () => { const message = // eslint-disable-next-line max-len - 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.'; + 'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.'; await expect(transporter.read(transporterRequest)).rejects.toMatchObject({ message, diff --git a/packages/transporter/src/__tests__/unit/stackTrace.test.ts b/packages/transporter/src/__tests__/unit/stackTrace.test.ts index 0254a00a1..a55e001e2 100644 --- a/packages/transporter/src/__tests__/unit/stackTrace.test.ts +++ b/packages/transporter/src/__tests__/unit/stackTrace.test.ts @@ -90,7 +90,7 @@ describe('transporter stack trace serialization', () => { await expect(transporter.read(transporterRequest)).rejects.toEqual({ name: 'RetryError', message: - 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.', + 'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.', transporterStackTrace, }); diff --git a/packages/transporter/src/__tests__/unit/timeouts.test.ts b/packages/transporter/src/__tests__/unit/timeouts.test.ts index ee7454bc5..ac42c7589 100644 --- a/packages/transporter/src/__tests__/unit/timeouts.test.ts +++ b/packages/transporter/src/__tests__/unit/timeouts.test.ts @@ -86,7 +86,7 @@ describe('the timeouts selection', () => { await expect(transporter.read(transporterRequest)).rejects.toMatchObject({ name: 'RetryError', message: - 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.', + 'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.', }); assertRequest({ @@ -111,7 +111,7 @@ describe('the timeouts selection', () => { await expect(transporter.read(transporterRequest)).rejects.toMatchObject({ name: 'RetryError', message: - 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.', + 'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.', }); assertRequest({ @@ -142,7 +142,7 @@ describe('the timeouts selection', () => { await expect(transporter.read(transporterRequest)).rejects.toMatchObject({ name: 'RetryError', message: - 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.', + 'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.', }); assertRequest({ diff --git a/packages/transporter/src/errors/createRetryError.ts b/packages/transporter/src/errors/createRetryError.ts index b317aaa0e..360db2ebd 100644 --- a/packages/transporter/src/errors/createRetryError.ts +++ b/packages/transporter/src/errors/createRetryError.ts @@ -4,7 +4,7 @@ export function createRetryError(transporterStackTrace: readonly StackFrame[]): return { name: 'RetryError', message: - 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.', + 'Unreachable hosts - your application id may be incorrect. If the error persists, please create a ticket at https://support.algolia.com/ sharing steps we can use to reproduce the issue.', transporterStackTrace, }; }