RuntimeError: camply encountered an error and exited π [2023-09-14 22:13:53] - (UnicodeEncodeError) 'latin-1' codec
can't encode character '\U0001f3d5' in position 161: Body ('π') is not valid Latin-1. Use body.encode('utf-8') if you
want to send it encoded in UTF-8.
Describe the bug
Campsite messages with UTF-8 characters cannot be parsed by the webhook notification handler.
Original Camply Command (with
--debug
)Crashes with
Expected behavior
A notification of form
Additional context
I opened a PR for a fix a few days ago, https://github.com/juftin/camply/pull/299 , but opening an issue to track the actual bug.