mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 21:54:03 +00:00
log when we get an exception handling replication updates
This commit is contained in:
1 parent
b8d8ed1ba9
commit
f807f7f804
1 file changed
+5
-1
@@ -160,7 +160,11 @@ class ReplicationStreamer(object):
|
||||
"Getting stream: %s: %s -> %s",
|
||||
stream.NAME, stream.last_token, stream.upto_token
|
||||
)
|
||||
updates, current_token = yield stream.get_updates()
|
||||
try:
|
||||
updates, current_token = yield stream.get_updates()
|
||||
except:
|
||||
logger.info("Failed to handle stream %s", stream.NAME)
|
||||
raise
|
||||
|
||||
logger.debug(
|
||||
"Sending %d updates to %d connections",
|
||||
|
||||
Reference in new issue
Block a user