Description
The current implementation of API doesn't return detailed error when a font upload fails. Because of this reason, it is not possible to show appropriate error message in the UI.
Return detailed error messages from the API.
Step-by-step reproduction instructions
Try uploading a .otf file, and observe that API doesn't return any relevant error message or type.
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Description
The current implementation of API doesn't return detailed error when a font upload fails. Because of this reason, it is not possible to show appropriate error message in the UI.
Return detailed error messages from the API.
Step-by-step reproduction instructions
Try uploading a
.otffile, and observe that API doesn't return any relevant error message or type.Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes