Remove final use of util.log

pull/5207/head
Nick O'Leary 2025-07-04 15:00:33 +01:00
parent b364f8f9b6
commit 1d2fd8a604
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 3 additions and 3 deletions

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);