I'm currently running console.log
on a variable like so:
console.log(runnable);
When I look in the console I see this data:
I want to access the runnable.err
key however the console returns undefined
.
After this I tried to use console.log(JSON.stringify(runnable));
however I got the following error:
TypeError: Converting circular structure to JSON
When researching how to convert the circular structure all I can find is ways to parse the data safely without including the circular data. Is there any way I can access this data? Unfortunately I can't alter the data.
Thanks