Skip to content

Conversation

@thompsongl
Copy link
Contributor

@thompsongl thompsongl commented Nov 30, 2020

Summary

Fixes #4320, in which is was discovered that EuiErrorBoundary does not display the Error message in non-Chromium browsers. Chromium browsers include the message property in the stack property; others do not. The solution is to build an error string for non-Chromium browsers that approximates the message-stack combination.

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] Checked in mobile

  • Checked in Chrome, Safari, Edge, and Firefox

- [ ] Props have proper autodocs
- [ ] Added documentation

- [ ] Added or updated jest tests

  • Checked for breaking changes and labeled appropriately

- [ ] Checked for accessibility including keyboard-only and screenreader modes

  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4324/

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Checked the error boundary example in Chrome, FF, Edge, and Safari

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4324/

@thompsongl thompsongl merged commit c4177bc into elastic:master Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EuiErrorBoundary] Missing error message, only stack trace

4 participants