Skip to content

Fixed handling of errors that are not coming from the backend#6903

Merged
sneridagh merged 1 commit intomainfrom
fix-client-error-handling
Mar 30, 2025
Merged

Fixed handling of errors that are not coming from the backend#6903
sneridagh merged 1 commit intomainfrom
fix-client-error-handling

Conversation

@pnicolli
Copy link
Copy Markdown
Contributor

This also catches errors like ECONNREFUSED, while the current implementation breaks because error.response.data is not defined.

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 28, 2025

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit 0e5e264
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/67e6b555278a91000825eb9b

@sneridagh sneridagh merged commit 98e063d into main Mar 30, 2025
67 checks passed
@sneridagh sneridagh deleted the fix-client-error-handling branch March 30, 2025 14:05
sneridagh added a commit that referenced this pull request Apr 8, 2025
* main: (356 commits)
  Update or remove broken links (#6953)
  Only accept images in ImageInput component (#6926)
  Bump vite from 5.4.15 to 5.4.16 (#6932)
  Fetch vocabularies and querystring config in the current context (#6935)
  Remove the build from netlify for @plone/components
  Complete missing german translations and Storybook story for 'ContentsDeleteModal' (#6881)
  Remove duplicate configuration item `html_title` (#6933)
  Forwardport hand-cherrypicking the changes happened in Seven for `@plone/registry` relevant for be reintegrated in alpha (`main`). (#6929)
  Fixed regression on brown bag minor version of `@storybook/addon-webpack5-compiler-babel` (#6930)
  Amend PR #6885 changelog to be breaking
  s/Seven/Volto on `main` (#6925)
  Release @plone/registry 3.0.0-alpha.1
  Release @plone/types 2.0.0-alpha.0
  Remove news from packages that won't be released from main
  Fixed merge public folder from addons regression (#6919)
  Fixed handling of errors that are not coming from the backend (#6903)
  Move _hardware-requirements.md include from documentation to volto (#6918)
  Move includes from `plone/documentation` to `plone/volto` (#6917)
  Fix typo in Appextras documentation (#6083)
  Fix gray placeholder on horizontal scroll (#6877)
  ...
sneridagh added a commit that referenced this pull request Apr 9, 2025
* main: (59 commits)
  Update or remove broken links (#6953)
  Only accept images in ImageInput component (#6926)
  Bump vite from 5.4.15 to 5.4.16 (#6932)
  Fetch vocabularies and querystring config in the current context (#6935)
  Remove the build from netlify for @plone/components
  Complete missing german translations and Storybook story for 'ContentsDeleteModal' (#6881)
  Remove duplicate configuration item `html_title` (#6933)
  Forwardport hand-cherrypicking the changes happened in Seven for `@plone/registry` relevant for be reintegrated in alpha (`main`). (#6929)
  Fixed regression on brown bag minor version of `@storybook/addon-webpack5-compiler-babel` (#6930)
  Amend PR #6885 changelog to be breaking
  s/Seven/Volto on `main` (#6925)
  Release @plone/registry 3.0.0-alpha.1
  Release @plone/types 2.0.0-alpha.0
  Remove news from packages that won't be released from main
  Fixed merge public folder from addons regression (#6919)
  Fixed handling of errors that are not coming from the backend (#6903)
  Move _hardware-requirements.md include from documentation to volto (#6918)
  Move includes from `plone/documentation` to `plone/volto` (#6917)
  Fix typo in Appextras documentation (#6083)
  Fix gray placeholder on horizontal scroll (#6877)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants