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
I am aware that the correct state is the same as above but the first line should look like:
{%if'jeff'insalt['user.list_users']() %}
However, this is a simple mistake and we should try (if possible) to present a more obvious and friendly error message. This was found while testing out #3028
The text was updated successfully, but these errors were encountered:
Yes, this is tricky, since this is going down the path of catching a bunch of specific templating errors. but catching the common ones would be a good idea
Perhaps there is somewhere in the code you can do something like if callable(fun) error: You need to call the function with parenthesis? I'm unsure if this would require subclassing the renderer or could be done elsewhere in the stack? Perhaps it could be done in templates.py? I want to believe this isn't that hard.
rallytime
added
the
Feature
new functionality including changes to functionality and code refactors, etc.
label
Sep 30, 2014
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Example naiive state:
Completely unobvious (to a non-developer) error when running
state.highstate
:I am aware that the correct state is the same as above but the first line should look like:
However, this is a simple mistake and we should try (if possible) to present a more obvious and friendly error message. This was found while testing out #3028
The text was updated successfully, but these errors were encountered: