New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error message missing file path #16
Comments
All pongo error messages should provide a proper information like line/col and filename. Can you please give concrete examples where it does not? |
This is the error message data for me, but I can't see template error file path. |
The reason for that lies here: https://github.com/macaron-contrib/pongo2/blob/master/pongo2.go#L87 There is no filename provided to pongo2, so it can't output any. If you're working on macaron-contrib, then it would be useful if you would use If you're not working on macaron-contrib, you want to file an issue in their issue tracker. |
Thank you very much for your tips. I've told Unknwon , this problem has been solved. The error message has been correctly the output file path.
|
You're welcome! |
I have a lot of go-style template file,
However, the error information provided by missing pongo prompted for a file path.
When I have a lot of template files,
I find the error is very difficult,
Expect you to provide a modified version with a file path information as soon as possible.
This would be a great help.
Thank you.
The text was updated successfully, but these errors were encountered: