mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
actions: Fix logging issue with unicode in check_message errors.
This doesn't fix the root problem, but it means we'll get a more correct traceback when future problems happen.
This commit is contained in:
@@ -1371,7 +1371,7 @@ def _internal_prep_message(realm, sender, recipient_type_name, parsed_recipients
|
||||
return check_message(sender, get_client("Internal"), recipient_type_name,
|
||||
parsed_recipients, subject, content, realm=realm)
|
||||
except JsonableError as e:
|
||||
logging.error("Error queueing internal message by %s: %s" % (sender.email, str(e)))
|
||||
logging.error(u"Error queueing internal message by %s: %s" % (sender.email, e))
|
||||
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user