mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
Minor PR comment tweaks.
This commit is contained in:
parent
f9232c7917
commit
835e01fc70
5 changed files with 19 additions and 13 deletions
|
@ -27,8 +27,14 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
def log_failure(failure):
|
||||
logger.error("Application Services Failure: %s", failure.value)
|
||||
logger.error(failure.getTraceback())
|
||||
logger.error(
|
||||
"Application Services Failure",
|
||||
exc_info=(
|
||||
failure.type,
|
||||
failure.value,
|
||||
failure.getTracebackObject()
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
# NB: Purposefully not inheriting BaseHandler since that contains way too much
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue