diff options
author | Patrick Cloke <patrickc@matrix.org> | 2021-10-12 14:21:05 -0400 |
---|---|---|
committer | Patrick Cloke <patrickc@matrix.org> | 2021-10-12 14:21:05 -0400 |
commit | 9abc5f2a051f8ab49cb7a51f80bda78fbee6aa07 (patch) | |
tree | 4f32d577953922d65d981ed3a9c3a2e0f4e53b0e /synapse/rest/media/v1 | |
parent | Add tests for `MediaFilePaths` (#11057) (diff) | |
parent | Fix formatting string when oEmbed errors occur. (#11061) (diff) | |
download | synapse-9abc5f2a051f8ab49cb7a51f80bda78fbee6aa07.tar.xz |
Merge remote-tracking branch 'origin/release-v1.45' into develop
Diffstat (limited to 'synapse/rest/media/v1')
-rw-r--r-- | synapse/rest/media/v1/oembed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/oembed.py b/synapse/rest/media/v1/oembed.py index 6d7e1f9064..78b1603f19 100644 --- a/synapse/rest/media/v1/oembed.py +++ b/synapse/rest/media/v1/oembed.py @@ -191,7 +191,7 @@ class OEmbedProvider: except Exception as e: # Trap any exception and let the code follow as usual. - logger.warning(f"Error parsing oEmbed metadata from {url}: {e:r}") + logger.warning("Error parsing oEmbed metadata from %s: %r", url, e) open_graph_response = {} cache_age = None |