-
Notifications
You must be signed in to change notification settings - Fork 949
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[gen2][fetchEntries] ENG-7327 ensure fetchEntries function throws …
…an error when API fails (#3734) ## Description `fetchEntries` does not throw error **Jira Ticket** https://builder-io.atlassian.net/browse/ENG-7327 closes #3696 **Loom** https://www.loom.com/share/b911923b99dd479ba06829deb788ed8e --------- Co-authored-by: Clyde Mendonca <[email protected]> Co-authored-by: Sami Jaber <[email protected]>
- Loading branch information
1 parent
bf9ccaa
commit 78b8e5d
Showing
2 changed files
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
'@builder.io/sdk-angular': major | ||
'@builder.io/sdk-react-nextjs': major | ||
'@builder.io/sdk-qwik': major | ||
'@builder.io/sdk-react': major | ||
'@builder.io/sdk-react-native': major | ||
'@builder.io/sdk-solid': major | ||
'@builder.io/sdk-svelte': major | ||
'@builder.io/sdk-vue': major | ||
--- | ||
|
||
Breaking Change 🧨: `fetchEntries` and `fetchOneEntry` calls will now throw any errors thrown by `fetch`, or any non-success response returned from the Builder API. | ||
|
||
Previously, both functions would swallow all errors and return `null`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters