diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index cc08e3e02766f0e20d92283d24cffca1b32271ed..09af6a41a0d9a669216429a6356739d173c83aa7 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -513,7 +513,7 @@ class FederationHandler(BaseHandler):
             # the case of `get_missing_events` not returning the necessary
             # events anyway, it is safe to simply log the error and continue.
             logger.warn(
-                "[%s %s]: Failed to get prev_events for %s: %s",
+                "[%s %s]: Failed to get prev_events: %s",
                 room_id, event_id, e,
             )
             return