Fixing error
This commit is contained in:
@ -215,7 +215,7 @@ export class LoggingBase {
|
||||
message.forEach((e, i) => {
|
||||
let formats: Format[] = [];
|
||||
if (typeof e !== "string") {
|
||||
if (typeof e === "object") {
|
||||
if (e && typeof e === "object") {
|
||||
if (e[colorSymbol]) {
|
||||
formats.push({
|
||||
type: FormatTypes.COLOR,
|
||||
|
Reference in New Issue
Block a user