-
Notifications
You must be signed in to change notification settings - Fork 55
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
Unhelpful error message: "Failed to compile template. caused by: Rust Syntax Error (unexpected token)" #53
Comments
Similarly (but more a nitpick in this case), the following error could have more/better details:
Ideally, the error would contain the path of the template, the location of the error in the template, and the source line itself. I have never created a procedural macro, so I don't know if it's possible to improve error messages. PS: I hope it's okay, that I open so many issues. I'm pretty excited about Also, please don't feel any pressure to reply to my questions and suggestions quickly, or to implement anything. I just want to send you my feedback, as long as I still have a beginner's mind. |
I got an error that is like what I'd expect:
( So it seems, it's possible to get nice error messages. But maybe it depends on the kind of error. |
I’m sorry for the late reply (I was just doing some experiments at lab). The former error is a duplicate of #33. The progress of this issue is blocked due to 3rdparty library issue.
Currently sailfish heavily depends on |
For now |
Hi,
I just tried to find out, if custom filters can be defined:
(I forgot the "-" after the opening tag)
...which resulted in the following error:
Would it be possible to provide more context, including the code that lead to the error?
I imagine, at the moment it would be quite difficult to debug syntax errors.
The text was updated successfully, but these errors were encountered: