mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
import internalConsole
This commit is contained in:
parent
01a829c73e
commit
a2879b1f3b
@ -1,9 +1,11 @@
|
|||||||
|
const InternalConsole = require("../internalConsole")
|
||||||
|
|
||||||
function outputServerError({
|
function outputServerError({
|
||||||
message = "Unexpected error",
|
message = "Unexpected error",
|
||||||
description,
|
description,
|
||||||
ref = "SERVER",
|
ref = "SERVER",
|
||||||
}) {
|
}) {
|
||||||
global.InternalConsole.error(`\n\x1b[41m\x1b[37m🆘 [${ref}] ${message}\x1b[0m ${description ? `\n ${description}` : ""} \n`)
|
InternalConsole.error(`\n\x1b[41m\x1b[37m🆘 [${ref}] ${message}\x1b[0m ${description ? `\n ${description}` : ""} \n`)
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = outputServerError
|
module.exports = outputServerError
|
Loading…
x
Reference in New Issue
Block a user