Fixing error

This commit is contained in:
Fabian Stamm
2020-03-01 15:21:17 +01:00
parent d2da8da690
commit 675ec50139
3 changed files with 248 additions and 2028 deletions

View File

@ -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,