Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed #19819 - Handle template filter errors correctly. #721

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

mvantellingen commented Feb 13, 2013

Wrap the Parser.compile_filter method call with a try/except and call the
newly added Parser.compile_filter_error(). Overwrite this method in the
DebugParser to throw the correct error.

Since this error was otherwise catched by the compile_function try/except
block the debugger highlighted the wrong line.

mvantellingen added some commits Feb 13, 2013

Fixed #19819 - Handle template filter errors correctly.
Wrap the Parser.compile_filter method call with a try/except and call the
newly added Parser.compile_filter_error(). Overwrite this method in the
DebugParser to throw the correct error.

Since this error was otherwise catched by the compile_function try/except
block the debugger highlighted the wrong line.

@aaugustin aaugustin closed this Feb 13, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment