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

Feature: improved error reporting and new log information support for the Python query runner #479

Merged
merged 1 commit into from
Jul 12, 2015

Conversation

erans
Copy link
Contributor

@erans erans commented Jul 12, 2015

  • Improved error handling to show the real error (including indentation and syntax errors - it should show the right row number)
  • Added support for "print" statements which becomes log messages show in a single query window (where you edit). It's on by default. To remove it simply called 'disable_print_log()'

- Improved error handling to show the real error (including indentation and syntax errors - it should show the right row number)
- Added support for "print" statements which becomes log messages show in a single query window (where you edit). It's on by default. To remove it simply called 'disable_print_log()'
@@ -192,6 +192,16 @@ <h4 class="modal-title">Query Archive</h4>
</div>
<div class="alert alert-danger" ng-show="queryResult.getError()">Error running query: <strong>{{queryResult.getError()}}</strong></div>

<div class="row log-container" ng-show="showLog">
Copy link
Member

Choose a reason for hiding this comment

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

Does it take space (due to the margin-bottom style) when ng-show=false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I checked and it basically hides without taking any height, so the margin doesn't affect anything.

Copy link
Member

Choose a reason for hiding this comment

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

👍

@arikfr arikfr changed the title Refactored Python runner with improved error reporting and new log information support Feature: improved error reporting and new log information support for the Python query runner Jul 12, 2015
arikfr added a commit that referenced this pull request Jul 12, 2015
Feature: improved error reporting and new log information support for the Python query runner
@arikfr arikfr merged commit c195362 into getredash:master Jul 12, 2015
dairyo pushed a commit to KiiCorp/redash that referenced this pull request Mar 1, 2019
Feature: improved error reporting and new log information support for the Python query runner
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