-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next-13477/missing-errors-sync-api' into 'master'
NEXT-13477 - Sync API support for globalErrorHandlingInterceptor See merge request shopware/6/product/platform!4337
- Loading branch information
Showing
4 changed files
with
251 additions
and
103 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
changelog/_unreleased/2021-02-01-fix-missing-error-messages-for-sync-api.md
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,12 @@ | ||
--- | ||
title: Fix missing error messages from sync-api | ||
issue: NEXT-13477 | ||
flag: FEATURE_NEXT_10539 | ||
author: Tobias Berge | ||
author_email: t.berge@shopware.com | ||
author_github: @tobiasberge | ||
--- | ||
# Administration | ||
* Changed function `globalErrorHandlingInterceptor` in `Resources/app/administration/src/core/factory/http.factory.js` | ||
* Added new function `handleErrorStates` and refactored status code specific logic into this new function and added a new condition for status code 400 errors from sync-api | ||
* Changed `globalErrorHandlingInterceptor` and moved individual try-catch blocks into one global try-catch inside `handleErrorStates` |
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
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
Oops, something went wrong.