This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(link): Return better errors when provider id is given
It is relatively common for first time users to pass the provider id rather than the contract ID when doing `wash ctl link del`. This adds a block that tests if it is a provider ID and returns a hint to the user. I also noticed we weren't returning an error code on link commands if they failed, so I added some logic to fix it Signed-off-by: Taylor Thomas <taylor@cosmonic.com>
- Loading branch information
1 parent
681b73f
commit 1f2ad93
Showing
2 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters