Also add the stack for postcss errors (#1758)
parent
4d9c67af15
commit
060ea6c0da
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue