Improve error handling to catch syntax errors in templates