From 90a282cbd05e27bd5802a684cd943089e20d07dd Mon Sep 17 00:00:00 2001 From: Jeena Date: Sun, 1 Mar 2015 16:36:12 +0100 Subject: [PATCH] fixed exception to error instead of log --- app/Lib/Utilities/Exception.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Lib/Utilities/Exception.js b/app/Lib/Utilities/Exception.js index 49cfc2b..95d6b3d 100755 --- a/app/Lib/Utilities/Exception.js +++ b/app/Lib/Utilities/Exception.js @@ -18,7 +18,7 @@ function() { this.message = message.join(" "); var e = Error.call(this, this.message); - console.log(e.stack) + console.error(e.stack); } Exception.prototype = Object.create(Error.prototype);