Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 610 Bytes

2021-02-01-fix-missing-error-messages-for-sync-api.md

File metadata and controls

11 lines (11 loc) · 610 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Fix missing error messages from sync-api
issue: NEXT-13477
author: Tobias Berge
author_email: [email protected] 
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