Also add the stack for postcss errors (#1758)

master
Christopher Chedeau 2017-05-26 15:17:46 -07:00 committed by GitHub
parent 4d9c67af15
commit 060ea6c0da
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ function parseWithPostCSS(text) {
return parsedResult;
} catch (e) {
if (typeof e.line !== "number") {
throw e;
throw e.stack;
}
throw createError(e.name + " " + e.reason, e.line, e.column);
}