From 38469a7e6939135b8a1782418ba35367d818c269 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Wed, 23 Aug 2017 13:30:23 -0600 Subject: [PATCH] Added message to Extendable Error's --- errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors.js b/errors.js index 79731dad6..ab1667e07 100644 --- a/errors.js +++ b/errors.js @@ -5,7 +5,7 @@ class ExtendableError { constructor(message = null) { this.message = message; - this.stack = (new Error()).stack; + this.stack = (new Error(message)).stack; } }