mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +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,
|
return check_message(sender, get_client("Internal"), recipient_type_name,
|
||||||
parsed_recipients, subject, content, realm=realm)
|
parsed_recipients, subject, content, realm=realm)
|
||||||
except JsonableError as e:
|
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
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user