archway-network / cli

Develop WASM smart contracts with the Archway network developer CLI
https://docs.archway.io
Apache License 2.0
44 stars 21 forks source link

Cargo workspaces error verbosity #318

Open FloppyDisck opened 7 months ago

FloppyDisck commented 7 months ago

When attempting to run any archway contracts command outside of an unsupported project structure it returns no such file or directory, open <expected path for a Cargo.toml>. After asking around it seemed to be expecting a workspace toml.

I think these types of errors should be more verbose so the user has a better clue of what they might be doing wrong.