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

LOG-4636: Encode the payload body to utf-8 #5

Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

LOG-4636: Encode the payload body to utf-8

  • Loading branch information
David Šarman
David Šarman committed May 24, 2019
commit 6694c339dcc735c6520a6f3b062c74ac8482e6d3
@@ -31,7 +31,7 @@ def get_full_message(self, record):
def emit(self, record):
try:
payload = self.format(record)
session.post(self.url, data=payload, background_callback=bg_cb)
session.post(self.url, data=payload.encode("utf-8"), background_callback=bg_cb)
except (KeyboardInterrupt, SystemExit):
raise
except:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.