mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Merge remote-tracking branch 'origin/release-v1.45' into develop
This commit is contained in:
commit
9abc5f2a05
1
changelog.d/11061.bugfix
Normal file
1
changelog.d/11061.bugfix
Normal file
@ -0,0 +1 @@
|
||||
Fix a bug introduced in Synapse v1.44.0 when logging errors during oEmbed processing.
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user