raise exception to test on travis
This commit is contained in:
parent
d2b3b435f0
commit
74ad4a2511
1 changed files with 2 additions and 1 deletions
|
@ -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 "<a>"
|
||||
|
||||
|
||||
|
|
Reference in a new issue