mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 08:39:26 -05:00
log when we get an exception handling replication updates
This commit is contained in:
parent
b8d8ed1ba9
commit
f807f7f804
@ -160,7 +160,11 @@ class ReplicationStreamer(object):
|
|||||||
"Getting stream: %s: %s -> %s",
|
"Getting stream: %s: %s -> %s",
|
||||||
stream.NAME, stream.last_token, stream.upto_token
|
stream.NAME, stream.last_token, stream.upto_token
|
||||||
)
|
)
|
||||||
|
try:
|
||||||
updates, current_token = yield stream.get_updates()
|
updates, current_token = yield stream.get_updates()
|
||||||
|
except:
|
||||||
|
logger.info("Failed to handle stream %s", stream.NAME)
|
||||||
|
raise
|
||||||
|
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"Sending %d updates to %d connections",
|
"Sending %d updates to %d connections",
|
||||||
|
Loading…
Reference in New Issue
Block a user