Skip to content

Conversation

@karmishin
Copy link

What type of PR is this?

  • Bug Fix

Description

This PR fixes an error that occurs when Redash tries to send a Mattermost notification that contains non-latin characters.

UnicodeEncodeError: 'latin-1' codec can't encode characters in position 116-119: 
Body ('📉📊📈🚀') is not valid Latin-1. Use body.encode('utf-8') if you want to send it encoded in UTF-8.

How is this tested?

  • Unit tests (pytest, jest)
  • E2E Tests (Cypress)
  • Manually
  • N/A

Rebuilt the Docker image and ran the app locally.

Related Tickets & Documents

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@MorselShogiew
Copy link

Молодцом!

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