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

No file information for empty source string #1834

Closed
k0kubun opened this issue Jan 7, 2016 · 0 comments
Closed

No file information for empty source string #1834

k0kubun opened this issue Jan 7, 2016 · 0 comments
Assignees
Milestone

Comments

@k0kubun
Copy link

k0kubun commented Jan 7, 2016

I'm using libsass via sassc-ruby.

I got a following backtrace for empty source scss.

SassC::SyntaxError: Error: Data context created with empty source string
/Users/k0kubun/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/sassc-1.8.2/lib/sassc/engine.rb:41:in `render'

This may be raised in https:/sass/libsass/blob/3.3.2/src/sass_context.cpp#L390.

I fixed sassc-ruby locally to see filename of empty scss and I found my empty scss. I want to see filename by default for this error. While I can fix sassc-ruby to see it, I think this can be resolved in libsass layer.

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

No branches or pull requests

2 participants