summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-10-03 04:14:45 -0500
committerGitHub <noreply@github.com>2022-10-03 10:14:45 +0100
commit2769ef4df125f91b59693457052930379582d614 (patch)
tree1cead3d1f2f6309805d07cc0d85fe2caeb7f6e87 /synapse/handlers
parentFix `get_users_in_room` mis-use in `transfer_room_state_on_room_upgrade` (#13... (diff)
downloadsynapse-2769ef4df125f91b59693457052930379582d614.tar.xz
Revert the general exception recording introduced in #13814 (#13969)
* Maybe not catch all errors to avoid things in the nature-of CancelledError

See https://github.com/matrix-org/synapse/pull/13815#discussion_r983384698

* Remove general exception tracking

* Add changelog
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/federation_event.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/synapse/handlers/federation_event.py b/synapse/handlers/federation_event.py
index 3fac256881..778d8869b3 100644
--- a/synapse/handlers/federation_event.py
+++ b/synapse/handlers/federation_event.py
@@ -866,11 +866,6 @@ class FederationEventHandler:
                 event.room_id, event_id, str(err)
             )
             return
-        except Exception as exc:
-            await self._store.record_event_failed_pull_attempt(
-                event.room_id, event_id, str(exc)
-            )
-            raise exc
 
         try:
             try:
@@ -913,11 +908,6 @@ class FederationEventHandler:
                 logger.warning("Pulled event %s failed history check.", event_id)
             else:
                 raise
-        except Exception as exc:
-            await self._store.record_event_failed_pull_attempt(
-                event.room_id, event_id, str(exc)
-            )
-            raise exc
 
     @trace
     async def _compute_event_context_with_maybe_missing_prevs(