Skip to content
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

Slim errors generate poor stacktraces #778

Open
grepsedawk opened this issue Jul 29, 2017 · 4 comments
Open

Slim errors generate poor stacktraces #778

grepsedawk opened this issue Jul 29, 2017 · 4 comments

Comments

@grepsedawk
Copy link

When I create an error in a slim file (IE calling an undefined method), there is nothing in the trace to point me to which file and where in the file the error originated from.

@joshbuker
Copy link

Related to this, I had a weird error from using element.css__class = variable_here # Comment here which took a long time to track down due to the stack trace pointing at a line that didn't even exist in the file. (SyntaxError - syntax error, unexpected keyword_ensure, expecting ')' on line 39 in a file only 37 lines long.)

@stonean
Copy link
Contributor

stonean commented May 28, 2018

Some examples of this would be great.

for the line 39 in a file only 37 lines long description @athix mentioned above, the file would be helpful.

@grepsedawk
Copy link
Author

Next time I see this I'll grab the whole stack trace.

@stonean
Copy link
Contributor

stonean commented May 31, 2018

@pachonk thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants