microsoft / vscode-cosmosdb

Azure Databases extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-cosmosdb
MIT License
155 stars 69 forks source link

Fix an issue where an internal error is not meaningful #2351

Closed sevoku closed 1 month ago

sevoku commented 1 month ago

There are several scenarios where loading database resources might fail. This change adds an optional message to a commonly used nonNullValue check function and improves database resource resolution error handling. Additioally the resource ID and Name gets now masked when reporting errors to telemetry and GitHub issues.