Skip to content

Commit

Permalink
fix(support): redirect to ticket link (#1527)
Browse files Browse the repository at this point in the history
* update references to support@algolia.com to new ticket link

* additonal update references to support@algolia.com to new ticket link

* updating the algolia support link

---------

Co-authored-by: Minja Slavkovic <minja.slavkovic@gmail.com>
  • Loading branch information
shortcuts and minjaslavkovic authored Jun 5, 2024
1 parent 5828389 commit f73a86a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) Algolia <support@algolia.com>
Copyright (c) Algolia <http://www.algolia.com/>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 reach out to the Algolia Support team: https://alg.li/support .';

await expect(transporter.read(transporterRequest)).rejects.toMatchObject({
message,
Expand Down
2 changes: 1 addition & 1 deletion packages/transporter/src/__tests__/unit/stackTrace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 reach out to the Algolia Support team: https://alg.li/support .',
transporterStackTrace,
});

Expand Down
6 changes: 3 additions & 3 deletions packages/transporter/src/__tests__/unit/timeouts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 reach out to the Algolia Support team: https://alg.li/support .',
});

assertRequest({
Expand All @@ -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 reach out to the Algolia Support team: https://alg.li/support .',
});

assertRequest({
Expand Down Expand Up @@ -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 reach out to the Algolia Support team: https://alg.li/support .',
});

assertRequest({
Expand Down
2 changes: 1 addition & 1 deletion packages/transporter/src/errors/createRetryError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 reach out to the Algolia Support team: https://alg.li/support .',
transporterStackTrace,
};
}

0 comments on commit f73a86a

Please sign in to comment.