use global internal console

This commit is contained in:
srgooglo 2022-06-22 17:41:48 +02:00
parent 0a4372bc46
commit 7e9d31e931

View File

@ -3,7 +3,7 @@ function outputServerError({
description,
ref = "SERVER",
}) {
InternalConsole.error(`\n\x1b[41m\x1b[37m🆘 [${ref}] ${message}\x1b[0m ${description ? `\n ${description}` : ""} \n`)
global.InternalConsole.error(`\n\x1b[41m\x1b[37m🆘 [${ref}] ${message}\x1b[0m ${description ? `\n ${description}` : ""} \n`)
}
module.exports = outputServerError