Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
microsoft_teams: Log the message that failed HTML conversion.
Anders Kaseorgf1425af9eb42
diff --git a/zerver/data_import/microsoft_teams.py b/zerver/data_import/microsoft_teams.pyindex 829a940d66a..3bd5fece977 100644--- a/zerver/data_import/microsoft_teams.py+++ b/zerver/data_import/microsoft_teams.py@@ -588,7 +588,8 @@ def process_messages(content = convert_microsoft_teams_html_to_markdown(message["Body"]["Content"])except Exception: # nocoveragelogging.warning(- "Error converting HTML to text for message: '%s'; continuing", content+ "Error converting HTML to text for message: '%s'; continuing",+ message["Body"]["Content"],)logging.warning(str(message))continue