refactor: Rename log_bugdown_error to log_markdown_error.

This commit is part of series of commits aimed at renaming bugdown to
markdown.
This commit is contained in:
Mohit Gupta 2020-06-28 04:18:57 +05:30 committed by Tim Abbott
parent c1b6fbbc7d
commit e13691aa10
1 changed files with 1 additions and 1 deletions

View File

@ -2102,7 +2102,7 @@ _privacy_re = re.compile('\\w', flags=re.UNICODE)
def privacy_clean_markdown(content: str) -> str: def privacy_clean_markdown(content: str) -> str:
return repr(_privacy_re.sub('x', content)) return repr(_privacy_re.sub('x', content))
def log_bugdown_error(msg: str) -> None: def log_markdown_error(msg: str) -> None:
"""We use this unusual logging approach to log the markdown error, in """We use this unusual logging approach to log the markdown error, in
order to prevent AdminNotifyHandler from sending the sanitized order to prevent AdminNotifyHandler from sending the sanitized
original markdown formatting into another Zulip message, which original markdown formatting into another Zulip message, which