Refactored the error message parser in frontend
What does this MR do and why?
This is just a refactoring of the error message parser introduced in Enhance Security Configuration Error Handling i... (!112193 - merged) to simplify handling of the error messages and avoid passing unnecessary userFacing
prop when parsing an error message.
Screenshots or screen recordings
No visual changes
How to reproduce locally
- Create an empty repository (not even a readme-file)
- Go to
Security & Compliance
->Security Configuration
- In
Static Application Security Testing (SAST)
block, click "Configure with a merge request" button.
- A flash with the error message should be rendered
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Relates to: #386854 (closed)
Edited by Denys Mishunov