sassc
sassc copied to clipboard
include call stack into the error output, like in ruby
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.