forked from pallets/jinja
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue pallets#276: wrap undefined with str() to produce the correct l…
…ineno in the traceback
- Loading branch information
Bruno P. Kinoshita
committed
Jul 22, 2019
1 parent
f76c3ed
commit 0a129be
Showing
3 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
This is a text with | ||
one | ||
{{ two }} (error happens here first!) | ||
three | ||
{{ four }} (error here as well) | ||
five | ||
{{ six }} (no error) | ||
and more lines. | ||
|
||
The line using the "two" variable must be the one to appear in the | ||
traceback with a matching 'two' is missing message. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters