make output of error handler nicer

pull/85/head
nightwing 2015-04-28 04:14:56 +04:00
rodzic 55ad10af69
commit 2f833df7f4
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -62,7 +62,9 @@ define(function(require, exports, module) {
exception = new Error(exception);
if (!exception)
exception = new Error("Unspecified error");
console.error(exception.stack);
console.error(exception);
if (customData)
console.log(customData);
Raygun.send(exception, customData, tags);
}