mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Removing duplicate exception information
This commit is contained in:
parent
c7d7a9d703
commit
9597e3019b
@ -38,7 +38,6 @@ function plugin(options, imports, register) {
|
||||
console.error("Our current stack: ", new Error().stack);
|
||||
var killtimer = setTimeout(function() {
|
||||
console.error("Exiting after uncaught exception");
|
||||
console.error(err.stack || err);
|
||||
process.exit(1);
|
||||
}, 10000);
|
||||
// But don't keep the process open just for that!
|
||||
@ -108,4 +107,4 @@ function plugin(options, imports, register) {
|
||||
sendRequestError: sendRequestError,
|
||||
sendRequestWarning: sendRequestWarning
|
||||
}});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user