We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f0658e commit 5e6a61bCopy full SHA for 5e6a61b
src/SassError.js
@@ -4,6 +4,11 @@ class SassError extends Error {
4
5
this.name = "SassError";
6
7
+ // Instruct webpack to hide the JS stack from the console.
8
+ // Usually you're only interested in the SASS error in this case.
9
+ this.hideStack = true;
10
+ Error.captureStackTrace(this, this.constructor);
11
+
12
if (
13
typeof sassError.line !== "undefined" ||
14
typeof sassError.column !== "undefined"
@@ -24,12 +29,6 @@ class SassError extends Error {
24
29
/^Error: /,
25
30
""
26
31
)}`;
27
-
28
- // Instruct webpack to hide the JS stack from the console.
- // Usually you're only interested in the SASS stack in this case.
- this.hideStack = true;
32
- Error.captureStackTrace(this, this.constructor);
33
}
34
35
0 commit comments