mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
ruff: Fix G201 Logging .error(..., exc_info=True) → .exception(...).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
59eca10a43
commit
b08c81b312
@@ -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")
|
||||
raise
|
||||
|
||||
logger.info("Finished update.")
|
||||
|
||||
Reference in New Issue
Block a user