Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
markdown: Delete unused log_markdown_error.
Tim Abbottf6820085852f
diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.pyindex 80bc2ff0fc2..15c774191bb 100644--- a/zerver/lib/markdown/__init__.py+++ b/zerver/lib/markdown/__init__.py@@ -2102,13 +2102,6 @@ _privacy_re = re.compile('\\w', flags=re.UNICODE)def privacy_clean_markdown(content: str) -> str:return repr(_privacy_re.sub('x', content))-def log_markdown_error(msg: str) -> None:- """We use this unusual logging approach to log the markdown error, in- order to prevent AdminNotifyHandler from sending the sanitized- original markdown formatting into another Zulip message, which- could cause an infinite exception loop."""- markdown_logger.error(msg)-def get_email_info(realm_id: int, emails: Set[str]) -> Dict[str, FullNameInfo]:if not emails:return dict()