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

Fix 500 error when we get an error handling a PDU
pull/2557/head
Richard van der Hoff 2017-10-18 11:25:44 +01:00 committed by GitHub
commit 69994c385a
1 changed files with 0 additions and 1 deletions

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)}