Skip to content

[Lens] Make Lens report internal code errors correctly#97980

Merged
dej611 merged 1 commit intoelastic:masterfrom
dej611:fix/lens-error-bubbling
Apr 23, 2021
Merged

[Lens] Make Lens report internal code errors correctly#97980
dej611 merged 1 commit intoelastic:masterfrom
dej611:fix/lens-error-bubbling

Conversation

@dej611
Copy link
Copy Markdown
Contributor

@dej611 dej611 commented Apr 22, 2021

Summary

when investigating another bug I noticed JS errors were not bubbling up correctly in the workspace correctly, due to some changes in #96611 .

This fix gives priority to network/ES/esaggs errors when available, then internal JS ones, without hiding them.

@dej611 dej611 added Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Feature:Lens v7.13.0 auto-backport Deprecated - use backport:version if exact versions are needed labels Apr 22, 2021
@dej611 dej611 requested a review from a team April 22, 2021 10:54
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Copy Markdown
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

Code change LGTM

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
lens 948.5KB 948.6KB +76.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Backport successful

Status Branch Result
7.13
7.x

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Apr 23, 2021
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Apr 23, 2021
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Deprecated - use backport:version if exact versions are needed Feature:Lens release_note:skip Skip the PR/issue when compiling release notes Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.13.0 v7.14.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants