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({
|
||||
message = "Unexpected error",
|
||||
description,
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user