jxtxzzw / vscode-azure-iot-toolkit

Azure IoT Hub Toolkit for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit
Other
0 stars 0 forks source link

There should be ERROR in the page to notify user failed to list IoT Hub devices. #7

Open adashen opened 5 years ago

adashen commented 5 years ago
  1. Enter a wrong iot hub connection string to iot hub tool
  2. Open "Send D2C Message From simulated device".
  3. Everything seems works fine
  4. Unless there is no device could be chosen.

Thus user could not know actually the iothub could not be connected.

jxtxzzw commented 5 years ago

OK, now I get the ERROR message and managed to show it in VSCode.window.showErrorMessage(). image But the webview will still be launched for now.

blackchoey commented 5 years ago

In this case we don't need to show the webview. Just pop the error message you mentioned.