Concordium / concordium-smart-contract-tools

Tools for building, deploying, and interacting with smart contracts
Apache License 2.0
2 stars 8 forks source link

VSCode ext: Show error message when setting invalid custom cargo-concordium binary #64

Closed Bargsteen closed 1 year ago

Bargsteen commented 1 year ago

Description

In the VSCode extension, it is possible to set a custom binary path to cargo concordium. Issues with the binary, fx that it is missing or isn't executable, isn't displayed to the user.

Steps to Reproduce

  1. Set the custom cargo path to a non-existing file or to a non-executable cargo concordium
  2. Run the contract build command

Expected Result A popup stating that the binary is missing or not executable.

Actual Result Nothing.

Note A popup with a useful error message is displayed when using the cargo concordium version command. We should match that behavior for the other commands.

Versions

limemloh commented 1 year ago

Fixed as part of #58