Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ruff: Fix G201 Logging `.error(..., exc_info=True)` → `.exception(...)`.
Anders Kaseorgb08c81b3124a
diff --git a/zerver/management/commands/sync_ldap_user_data.py b/zerver/management/commands/sync_ldap_user_data.pyindex 7669194579f..03b9ce114a0 100644--- a/zerver/management/commands/sync_ldap_user_data.py+++ b/zerver/management/commands/sync_ldap_user_data.py@@ -55,7 +55,7 @@ def sync_ldap_user_data("Use the --force option if the mass deactivation is intended.")except Exception:- logger.error("LDAP sync failed", exc_info=True)+ logger.exception("LDAP sync failed")raiselogger.info("Finished update.")