kopia lustrzana https://github.com/c9/core
make output of error handler nicer
rodzic
55ad10af69
commit
2f833df7f4
|
@ -62,7 +62,9 @@ define(function(require, exports, module) {
|
||||||
exception = new Error(exception);
|
exception = new Error(exception);
|
||||||
if (!exception)
|
if (!exception)
|
||||||
exception = new Error("Unspecified error");
|
exception = new Error("Unspecified error");
|
||||||
console.error(exception.stack);
|
console.error(exception);
|
||||||
|
if (customData)
|
||||||
|
console.log(customData);
|
||||||
Raygun.send(exception, customData, tags);
|
Raygun.send(exception, customData, tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue