mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
make output of error handler nicer
This commit is contained in:
parent
55ad10af69
commit
2f833df7f4
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user