microsoft / vscode-azurevirtualmachines

Azure Virtual Machines extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurevirtualmachines
MIT License
32 stars 20 forks source link

Properly parse failed resources error message #244

Closed nturinski closed 3 years ago

nturinski commented 3 years ago

Fixes https://github.com/microsoft/vscode-azurevirtualmachines/issues/207

I noticed while testing that if the vm wasn't one of the resources you were deleting, that it would not throw an error and thus, the node would disappear from the tree view. By fixing that, users can't click into "View output" anymore, but I think it's worth the trade-off to not give them a mini heart-attack when they think their VM was just deleted on accident.