diff --git a/playlet-lib/src/components/Services/Innertube/NodesParser.bs b/playlet-lib/src/components/Services/Innertube/NodesParser.bs index e94bc5cd..17026a94 100644 --- a/playlet-lib/src/components/Services/Innertube/NodesParser.bs +++ b/playlet-lib/src/components/Services/Innertube/NodesParser.bs @@ -25,7 +25,7 @@ namespace Innertube for each key in nodeData directive = directives[key] if directive = invalid - LogWarn("Unknown node", key) + LogWarn("Unknown node", key, `\n`, FormatJson(nodeData[key])) #if THROW_ON_UNKNOWN_NODES #if DEBUG throw "Unknown node: " + key @@ -684,7 +684,7 @@ namespace Innertube return LockupViewModelTypeAlbum(nodeData, context) end if - LogWarn("Unknown content type:", contentType, `\n`, nodeData) + LogWarn("Unknown content type:", contentType, `\n`, FormatJson(nodeData)) #if THROW_ON_UNKNOWN_NODES #if DEBUG throw "Unknown content type: " + contentType @@ -874,7 +874,7 @@ namespace Innertube return TileRendererTypePlaylist(nodeData, context) end if - LogWarn("Unknown content type:", contentType, `\n`, nodeData) + LogWarn("Unknown content type:", contentType, `\n`, FormatJson(nodeData)) #if THROW_ON_UNKNOWN_NODES #if DEBUG throw "Unknown content type: " + contentType