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

Update log string encode #3167

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

waynesun09
Copy link

Encode the string with utf-8 and ignore error

Encode the string with utf-8 and ignore error

Signed-off-by: Wayne Sun <[email protected]>
@waynesun09
Copy link
Author

@kkaarreell RP operation team got user report with 504 response, and from postgres DB log it's the log table with the message encoding issue, you have raised PR:
#3092

which should cover it but it still exist, so add the encode with utf-8 and decode back before send to the API request.
Could you help check and maybe test from tmt side.

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.

1 participant