Graylog2 / Graylog2/graylog2-server

Improve the way runtime errors are being displayed

Open
#16,304 0 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

# Description

When a runtime error occurs while rendering a component, we are currently not displaying the `RuntimeErrorPage`.
Previously the `ErrorBoundary` component called `createReactError`, which resulted in the `RuntimeErrorPage` being dispalyed.
Now the error is already being catched by the function which loads page components (`loadAsync`). The function just renders the component as a string.

![image](https://github.com/Graylog2/graylog2-server/assets/46300478/b4262fad-645d-4402-8f79-0eb6d6485be0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.