Refs #2. Added some logging for Jinja2 errors.