From 74ad4a25115f96580e742211de965046a64045be Mon Sep 17 00:00:00 2001 From: Parbhat Puri Date: Wed, 8 Apr 2020 12:06:49 +0530 Subject: [PATCH] raise exception to test on travis --- wagtail_draftail_snippet/richtext.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wagtail_draftail_snippet/richtext.py b/wagtail_draftail_snippet/richtext.py index 5320403..1c9a6d7 100644 --- a/wagtail_draftail_snippet/richtext.py +++ b/wagtail_draftail_snippet/richtext.py @@ -32,7 +32,8 @@ class SnippetLinkHandler(LinkHandler): snippet_obj = cls.get_instance(attrs) template = cls.get_template(attrs) return render_to_string(template, {"object": snippet_obj}) - except Exception: + except Exception as e: + raise e return ""