Skip to content

Commit dd484c3

Browse files
author
Mohsen Azimi
committed
init details
1 parent c8cfff7 commit dd484c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/WebpackError.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ module.exports = class WebpackError extends Error {
99
super(message);
1010

1111
this.message = message;
12+
this.details = undefined;
13+
1214
Error.captureStackTrace(this, this.constructor);
1315
}
1416

15-
get details() {}
16-
1717
inspect() {
1818
return this.stack + (this.details ? `\n${this.details}` : "");
1919
}

0 commit comments

Comments
 (0)