diff --git a/mdx_oembed/inlinepatterns.py b/mdx_oembed/inlinepatterns.py index 1dcee45..02054a2 100644 --- a/mdx_oembed/inlinepatterns.py +++ b/mdx_oembed/inlinepatterns.py @@ -32,5 +32,7 @@ class OEmbedLinkPattern(Pattern): response = self.consumer.embed(url) except oembed.OEmbedNoEndpoint: return None + except Exception as e: + return None else: return response['html']