Skip to content

Commit

Permalink
add show stack by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed May 1, 2016
1 parent fd0a7b8 commit b69b793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = function (processors, options) {
}

function handleError (error) {
var errorOptions = { fileName: file.path }
var errorOptions = { fileName: file.path, showStack: true }
if (error.name === 'CssSyntaxError') {
error = error.message + error.showSourceCode()
errorOptions.showStack = false
Expand Down

0 comments on commit b69b793

Please sign in to comment.