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

Fail query task properly even if error message is empty #3499

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

washort
Copy link

@washort washort commented Feb 26, 2019

Query runners may fail with empty error messages; this was not handled as a failure and so store_result was invoked with data=None. This makes the check for error conditions explicit. (This was causing #3280 )

Copy link
Member

@arikfr arikfr left a comment

Choose a reason for hiding this comment

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

Thanks, @washort .

redash/tasks/queries.py Outdated Show resolved Hide resolved
@washort washort force-pushed the query-runner-errors branch from fddb714 to 718e57a Compare March 19, 2019 18:07
@washort
Copy link
Author

washort commented Mar 19, 2019

Rebased on master.

@arikfr arikfr merged commit d5494cf into master Mar 27, 2019
@arikfr arikfr deleted the query-runner-errors branch March 27, 2019 15:50
@arikfr
Copy link
Member

arikfr commented Mar 27, 2019

Thanks.

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.

2 participants