Skip to content

Add logging to Undefined type.#339

Closed
koddsson wants to merge 1 commit intopallets:masterfrom
koddsson:master-add-logging
Closed

Add logging to Undefined type.#339
koddsson wants to merge 1 commit intopallets:masterfrom
koddsson:master-add-logging

Conversation

@koddsson
Copy link
Copy Markdown

This is almost the same as pallets/flask#1028 although it does not check if we are running in debug mode.

This is almost the same as pallets/flask#1028 although it does not check if
we are running in debug mode.
@koddsson
Copy link
Copy Markdown
Author

Ah, I forgot to run the tests before making the PR. Trying to figure out how I can set and check if jinja is running in debug mode to make sure that we don't output to stdout all the time.

@mitsuhiko
Copy link
Copy Markdown
Contributor

I implemented this now through a factory function but not by changing the behavior of the default undefined type.

@mitsuhiko mitsuhiko closed this Jun 6, 2014
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants