Merge pull request #876 from coralproject/useful-errors

Added message to Extendable Errors
This commit is contained in:
Kim Gardner
2017-08-24 12:24:42 +01:00
committed by GitHub
+1 -1
View File
@@ -5,7 +5,7 @@
class ExtendableError {
constructor(message = null) {
this.message = message;
this.stack = (new Error()).stack;
this.stack = (new Error(message)).stack;
}
}