Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Fix Alias GET failing on first fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Marcano committed Jul 28, 2022
1 parent 94d77fa commit 8ec72a4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,9 @@ export class InternalMethods {
clearTimeout(timerId);
};
// We save the fetch request to later execute all in parallel
const apiCall = fetch(apiURL, { signal: controller.signal }).then(handleResponse);
const apiCall = fetch(apiURL, { signal: controller.signal })
.then(handleResponse)
.catch(() => []);
apiFetches.push(apiCall);
} else {
returnedAliasedAddresses[namespace] = aliasesMatchingInNamespace;
Expand Down

0 comments on commit 8ec72a4

Please sign in to comment.