1
Fork 0

raise exception to test on travis

This commit is contained in:
Parbhat Puri 2020-04-08 12:06:49 +05:30
parent d2b3b435f0
commit 74ad4a2511

View file

@ -32,7 +32,8 @@ class SnippetLinkHandler(LinkHandler):
snippet_obj = cls.get_instance(attrs) snippet_obj = cls.get_instance(attrs)
template = cls.get_template(attrs) template = cls.get_template(attrs)
return render_to_string(template, {"object": snippet_obj}) return render_to_string(template, {"object": snippet_obj})
except Exception: except Exception as e:
raise e
return "<a>" return "<a>"