fixed exception to error instead of log

This commit is contained in:
Jeena 2015-03-01 16:36:12 +01:00
parent 9f32562a8d
commit 90a282cbd0

View file

@ -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);