Remove final use of util.log

This commit is contained in:
Nick O'Leary
2025-07-04 15:00:33 +01:00
parent b364f8f9b6
commit 1d2fd8a604

View File

@@ -529,18 +529,18 @@ httpsPromise.then(function(startupHttps) {
});
process.on('uncaughtException',function(err) {
util.log('[red] Uncaught Exception:');
console.log('[red] Uncaught Exception:');
if (err.stack) {
try {
RED.log.error(err.stack);
} catch(err2) {
util.log(err.stack);
console.log(err.stack);
}
} else {
try {
RED.log.error(err);
} catch(err2) {
util.log(err);
console.log(err);
}
}
process.exit(1);