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

Fixing failure report rendering #5492

Merged
merged 3 commits into from
May 14, 2021

Conversation

adamzwakk
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • New Query Runner (Data Source)
  • New Alert Destination
  • Other

Description

Missing return statement to actually bring the rendered HTML back to send_failure_report. This was fine basically everywhere else since it used Flask's version of render_template, but for this more custom case, the string needs to be returned back to be inside the email.

Related Tickets & Documents

#5093

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Missing return statement to actually bring the rendered HTML back to `send_failure_report`. This was fine basically everywhere else since it used Flask's version of render_template, but for this more custom case, the string needs to be returned back to be inside the email.
@adamzwakk
Copy link
Contributor Author

Sorry didn't mean to generate another PR, didn't know renaming the branch would auto-close the other one, TIL.

@arikfr arikfr merged commit e4e567b into getredash:master May 14, 2021
@arikfr
Copy link
Member

arikfr commented May 14, 2021

Thanks!

lotreal added a commit to lotreal/redash that referenced this pull request Jun 22, 2021
* master:
  remove redundant fields from slack alert destination (getredash#5514)
  README.md: Add TiDB to the Supported Data Sources (getredash#5477)
  Refine Dockerfile caching (getredash#5484)
  fix big_query.py google api import error (getredash#5482)
  Use the correct rq connection in `get_queues_status` (getredash#5491)
  Fixing failure report rendering (getredash#5492)
  SFS-001: Adding support for the optional host connection property (getredash#5490)
  Expire sessions after 6 hours of inactivity (getredash#5159)
  use ptpython instead of standard python shell (getredash#5483)
  Adds rate limit to /forgot. (getredash#5425)
  Athena: skip tables with no StorageDescriptor (getredash#5447)
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