0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-05 14:18:55 +01:00

Merge pull request #2553 from matrix-org/rav/fix_500_on_event_send

Fix 500 error when we get an error handling a PDU
This commit is contained in:
Richard van der Hoff 2017-10-18 11:25:44 +01:00 committed by GitHub
commit 69994c385a

View file

@ -192,7 +192,6 @@ class FederationServer(FederationBase):
pdu_results[event_id] = {}
except FederationError as e:
logger.warn("Error handling PDU %s: %s", event_id, e)
self.send_failure(e, transaction.origin)
pdu_results[event_id] = {"error": str(e)}
except Exception as e:
pdu_results[event_id] = {"error": str(e)}