From c1088492e0afafc4c585f362108c77644ab9741a Mon Sep 17 00:00:00 2001 From: Benedikt Willi Date: Tue, 7 Apr 2020 14:37:38 +0200 Subject: [PATCH] Update inlinepatterns.py --- mdx_oembed/inlinepatterns.py | 2 ++ 1 file changed, 2 insertions(+) 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']