diff --git a/src/application/Parser/CategoryParser.ts b/src/application/Parser/CategoryParser.ts index c52c9ee6..734cc430 100644 --- a/src/application/Parser/CategoryParser.ts +++ b/src/application/Parser/CategoryParser.ts @@ -52,7 +52,7 @@ function parseCategoryChild( children.subScripts.push(script); } else { throw new Error(`Child element is neither a category or a script. - Parent: ${parent.category}, element: ${categoryOrScript}`); + Parent: ${parent.category}, element: ${JSON.stringify(categoryOrScript)}`); } }