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

include call stack into the error output, like in ruby #219

Open
XzenTorXz opened this issue Dec 11, 2017 · 0 comments
Open

include call stack into the error output, like in ruby #219

XzenTorXz opened this issue Dec 11, 2017 · 0 comments

Comments

@XzenTorXz
Copy link

XzenTorXz commented Dec 11, 2017

there is no indication of the callee, if you throw an error within the mixin

`@mixin foo($bar){
@if $bar != "bar"{
@error "$bar needs to be bar";
}
}

@include foo("notbar");`

Output sassc:

Error: $bar needs to be bar on line 3 of testSass.scss @error "$bar needs to be bar"; ---------------^

Output ruby:

Error: $bar needs to be bar on line 3 of testSass.scss, in foo from line 7 of testSass.scss Use --trace for backtrace.

I just updated to a new version and it throws some errors, but since its a big project I have no clue where they are thrown.

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

1 participant