mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
uncaughtException debug improvements
Changed error uncaughtException tracing
This commit is contained in:
parent
4f23847546
commit
bd142a9710
4
packages/node_modules/node-red/red.js
vendored
4
packages/node_modules/node-red/red.js
vendored
@ -455,9 +455,9 @@ httpsPromise.then(function(startupHttps) {
|
||||
process.on('uncaughtException',function(err) {
|
||||
util.log('[red] Uncaught Exception:');
|
||||
if (err.stack) {
|
||||
util.log(err.stack);
|
||||
RED.log.error(err.stack);
|
||||
} else {
|
||||
util.log(err);
|
||||
RED.log.error(err);
|
||||
}
|
||||
process.exit(1);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user