FeatureFuel
1

Improve displaying of error when viewing a content item

Source: directus/directus#24917 · opened by @pieterdd
Describe the Bug

When I load a GET call to returns an HTTP 500. The UI reacts to the 500 incorrectly:

![image](

A correct error would be something along the lines of "A technical error has occurred".

To Reproduce

Haven't figured out yet why the HTTP 500 is happening or how to reproduce it, but that's beyond the scope of this bug report. As for the frontend incorrectly reacting to the HTTP 500:

• Create a data model
• Create an item within that data model
• Open its edit page and use a mocking tool like HTTP Toolkit to force the XHR call to model]/[id] to respond with HTTP 500

Directus Version

10.7.1

Hosting Strategy

Self-Hosted (Docker Image)

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests