Bug in Wrangler - it randomly adds [object Object] to console.log()'d string output

I think I've raised this before but didn't get anywhere. There's a really weird bug in Wrangler (presumably) whereby, when you console.log() something, if it's over a certain lenght (unclear), Wrangler malforms it and swaps parts of it out for [object Object]. So you'll get something like:
one two three four five [object Object] eleven twelve thirteen
one two three four five [object Object] eleven twelve thirteen
Is a fix planned for this? It makes debugging quite difficult. The only way I've found to get round it is to do console.log(encodeURIComponent()), which seems to avoid the problem.
1 Reply
Mitya
MityaOP3mo ago
Anyone? ..................... ......................
Want results from more Discord servers?
Add your server