MatrixSynapse/synapse/storage
Richard van der Hoff b387ee17b6 Improve exception handling in persist_event
1. use `deferred.errback()` instead of `deferred.errback(e)`, which means that
a Failure object will be constructed using the current exception state,
*including* its stack trace - so the stack trace is saved in the Failure,
leading to better exception reports.

2. Set `consumeErrors=True` on the ObservableDeferred, because we know that
there will always be at least one observer - which avoids a spurious "CRITICAL:
unhandled exception in Deferred" error in the logs
2018-01-29 17:05:33 +00:00
..
engines
schema Remove lost comment 2018-01-17 14:59:44 +00:00
util
__init__.py
_base.py
account_data.py
appservice.py
background_updates.py
client_ips.py
deviceinbox.py
devices.py
directory.py
end_to_end_keys.py
event_federation.py
event_push_actions.py
events.py
filtering.py
group_server.py
keys.py
media_repository.py
openid.py
prepare_database.py
presence.py
profile.py
push_rule.py
pusher.py
receipts.py
registration.py
rejections.py
room.py
roommember.py
search.py
signatures.py
state.py
stream.py
tags.py
transactions.py
user_directory.py