diff options
author | reivilibre <oliverw@matrix.org> | 2024-05-22 14:22:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 14:22:33 +0100 |
commit | 7e2412265da43552b26dedfa72909afd704d1500 (patch) | |
tree | 03f51f686c0e5d0cd48a1f6c9537f10b738e1273 /synapse | |
parent | Add logging to tasks managed by the task scheduler, showing CPU and database ... (diff) | |
download | synapse-7e2412265da43552b26dedfa72909afd704d1500.tar.xz |
Log exceptions when failing to auto-join new user according to the `auto_join_rooms` option. (#17176)
Would have been useful for tracking down #16878. Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org>
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index e48e70db04..c200e29569 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -590,7 +590,7 @@ class RegistrationHandler: # moving away from bare excepts is a good thing to do. logger.error("Failed to join new user to %r: %r", r, e) except Exception as e: - logger.error("Failed to join new user to %r: %r", r, e) + logger.error("Failed to join new user to %r: %r", r, e, exc_info=True) async def _auto_join_rooms(self, user_id: str) -> None: """Automatically joins users to auto join rooms - creating the room in the first place |