Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass error message separately #5194

Merged
merged 2 commits into from
Jun 14, 2018

Conversation

timifasubaa
Copy link
Contributor

@timifasubaa timifasubaa commented Jun 14, 2018

This PR changes the way error messages are passed to the frontend. In the past the HTML was sent from the backend but now it is passed separately in the JSON response.

@graceguo-supercat @michellethomas

@timifasubaa timifasubaa changed the title [WIP] pass_error_message_separately pass_error_message_separately Jun 14, 2018
@timifasubaa timifasubaa changed the title pass_error_message_separately pass error message separately Jun 14, 2018
@timifasubaa timifasubaa force-pushed the pass_error_link_separately branch from 04bac1d to 99a31d8 Compare June 14, 2018 18:22
@timifasubaa timifasubaa force-pushed the pass_error_link_separately branch from 99a31d8 to 7fa5559 Compare June 14, 2018 18:32
Copy link

@graceguo-supercat graceguo-supercat left a comment

Choose a reason for hiding this comment

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

LGTM

@timifasubaa timifasubaa merged commit 4b7a14d into apache:master Jun 14, 2018
@codecov-io
Copy link

Codecov Report

Merging #5194 into master will decrease coverage by <.01%.
The diff coverage is 40%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5194      +/-   ##
==========================================
- Coverage   63.46%   63.45%   -0.01%     
==========================================
  Files         261      261              
  Lines       19835    19838       +3     
  Branches     1992     1995       +3     
==========================================
  Hits        12589    12589              
- Misses       7237     7240       +3     
  Partials        9        9
Impacted Files Coverage Δ
...perset/assets/src/components/StackTraceMessage.jsx 58.33% <25%> (-6.67%) ⬇️
superset/views/core.py 74.66% <33.33%> (+0.01%) ⬆️
superset/views/base.py 66.89% <66.66%> (-0.24%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 66ffcb6...7fa5559. Read the comment docs.

john-bodley pushed a commit to john-bodley/superset that referenced this pull request Jun 19, 2018
…ately

pass error message separately
(cherry picked from commit 4b7a14d)
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
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.

3 participants