hardhat-vscode
hardhat-vscode copied to clipboard
Error: Connection got disposed.
trafficstars
Our sentry logs are clogged with:
Sentry Issue: VSCODE-EXTENSION-W4M
Error: Connection got disposed.
File "c:\Users\xxxx\.vscode\extensions\nomicfoundation.hardhat-solidity-0.6.15\out\extension.js", line 1660, in Object.dispose
'{snip} ectionState.Disposed,disposeEmitter.fire(void 0);let error=new Error("Connection got disposed.");Object.keys(responsePromises).forEach(key=> {snip}
File "c:\Users\xxxx\.vscode\extensions\nomicfoundation.hardhat-solidity-0.6.15\out\extension.js", line 1665, in Object.dispose
'{snip} e,handler),end:()=>connection.end(),dispose:()=>connection.dispose()}}var ErrorAction;(function(ErrorAction2){ErrorAction2[ErrorAction2.Cont {snip}
File "c:\Users\xxxx\.vscode\extensions\nomicfoundation.hardhat-solidity-0.6.15\out\extension.js", line 1667, in <anonymous>
'{snip} ().then(()=>{connection.exit(),connection.end(),connection.dispose(),this.state=ClientState.Stopped,this.cleanUpChannel(),this._onStop=void {snip}
File "c:\Users\xxxx\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js", line 110, in E.R
'{snip} ilter(Ee=>this.isActivated(Ee)).map(Ee=>this.Y(Ee))}catch{}await Promise.all(q)}terminate(q,F=0){if(this.P)return;this.P=!0,this.l.info(`Ext {snip}
...
(1 additional frame(s) were not displayed)
We should determine whether this is an error we should care about, and either solve it or suppress it in the logs.