lib/scss_lint/runner.rb in scss-lint-0.12.0 vs lib/scss_lint/runner.rb in scss-lint-0.12.1

- old
+ new

@@ -47,10 +47,11 @@ linters.each do |linter| begin linter.run(engine) rescue => error raise LinterError, - "#{linter.class} raised unexpected error: '#{error.message}'", + "#{linter.class} raised unexpected error linting file #{file}: " << + "'#{error.message}'", error.backtrace end end rescue Sass::SyntaxError => ex @lints << Lint.new(ex.sass_filename, ex.sass_line, ex.to_s, :error)