mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
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>
This commit is contained in:
parent
7ef00b7628
commit
7e2412265d
1
changelog.d/17176.misc
Normal file
1
changelog.d/17176.misc
Normal file
@ -0,0 +1 @@
|
||||
Log exceptions when failing to auto-join new user according to the `auto_join_rooms` option.
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user