diff --git a/src/parser/parser.ts b/src/parser/parser.ts index ef28de6fb..0915f4e31 100644 --- a/src/parser/parser.ts +++ b/src/parser/parser.ts @@ -95,7 +95,8 @@ let ERROR_HANDLER: ParserErrorHandler = ({ classname, ...context }: ParserError) new InnertubeError( `Something went wrong at ${classname}!\n` + `This is a bug, please report it at ${Platform.shim.info.bugs_url}`, { - stack: context.error.stack + stack: context.error.stack, + classdata: JSON.stringify(context.classdata, null, 2) } ) );