You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2018. It is now read-only.
Maybe you should check it (using regular expression) before using the template and if it is incorrect, you should probably throw your own exception inheriting from ValueError like this:
class BadTemplate(ValueError):
"""
Exception thrown when the template is incorrect and cannot be supported.
"""
pass
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We need to figure out the right thing to do when we get bad templates, e.g., "{foo", "}foo{", and so forth.
The text was updated successfully, but these errors were encountered: