microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
291 stars 132 forks source link

The error is not clear when executing deploying command for a containerized function app #4175

Closed v-ruizh closed 3 months ago

v-ruizh commented 3 months ago

OS: All Build Version: v1.15.1-alpha.0 Regression: Not a Regression

Repro Steps:

  1. Create and open a containerized function project in VS Code.
  2. F1 -> Select "Azure Functions: Deploy to Azure..." -> Select "+ Create new function app" -> Select "Container Image" in the prompted dialog and follow the next steps to create a containerized function app to deploy.
  3. Check whether a clear error occurs.

Expect: A clear error occurs, such as "Deploy action is not supported on containerized function app".

Actual: Succeed to create a containerized function app and an error occurs, the error is not clear. image