mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 18:24:50 -04:00
Log tracebacks correctly
This commit is contained in:
parent
5b9786ee00
commit
c7b333c545
3 changed files with 12 additions and 7 deletions
|
@ -239,8 +239,9 @@ class FederationServer(FederationBase):
|
|||
f = failure.Failure()
|
||||
pdu_results[event_id] = {"error": str(e)}
|
||||
logger.error(
|
||||
"Failed to handle PDU %s: %s",
|
||||
event_id, f.getTraceback().rstrip(),
|
||||
"Failed to handle PDU %s",
|
||||
event_id,
|
||||
exc_info=(f.type, f.value, f.getTracebackObject()),
|
||||
)
|
||||
|
||||
yield concurrently_execute(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue