Closed nimatrueway closed 2 years ago
root cause should be this commit: https://github.com/AnWeber/vscode-httpyac/commit/bccc4b8389a16cd6fe9977df5ca2a0d645b911de. Actually I wanted to prevent exactly this problem by using the inspect
method from node:utils
. I have now changed it to a variant cribbed from MDN.
I ran a simple rest-call, succeeded. The 2nd time I tried to run the same request (onwards) I get this error:
Basically I'll have to restart vs-code after each request. I downgraded to
5.5.4
and things are working as expected. This issue is only happening on5.5.5
.Looks like a case where JSON.stringify has been invoked on an
httpFile.httpRegions[0]...httpFile
object.I can dig into it and provide more details if this doesn't give a cue on the root cause.