b387ee17b6
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 |
||
---|---|---|
.. | ||
engines | ||
schema | ||
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 |