You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/10/05 17:11:53 UTC
[GitHub] thaume opened a new issue #3607: SQL Lab error handling
thaume opened a new issue #3607: SQL Lab error handling
URL: https://github.com/apache/incubator-superset/issues/3607
Make sure these boxes are checked before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included it here as text if any
- [x] I have reproduced the issue with at least the latest released version of superset
- [x] I have checked the issue tracker for the same issue and I haven't found one similar
### Superset version
0.20.0
### Expected results
SQL lab show error details when query fails.
### Actual results
Error handling in the SQL Lab view. When an SQL query fails, I just receive a message "could not connect to the server" :
<img width="342" alt="screen shot 2017-10-05 at 7 06 41 pm" src="https://user-images.githubusercontent.com/1096014/31240365-b5bde964-aa00-11e7-919e-4c2a61f629a0.png">
When I check the chrome console, under the XHR network logs, I have a nice error message :
<img width="922" alt="screen shot 2017-10-05 at 7 06 58 pm" src="https://user-images.githubusercontent.com/1096014/31240393-ce9fddde-aa00-11e7-8e44-b5c0bd408b4d.png">
I just want to make sure this is a real problem, then I can start working on a PR.
### Steps to reproduce
Just write a failing query in SQL Lab.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services